Files
android_kernel_fxtec_sm6115/include/uapi/linux
Miklos Szeredi 5979034173 UPSTREAM: fuse: add FOPEN_CACHE_DIR
Add flag returned by OPENDIR request to allow kernel to cache directory
contents in page cache.  The effect of FOPEN_CACHE_DIR is twofold:

 a) if not already cached, it writes entries into the cache

 b) if already cached, it allows reading entries from the cache

The FOPEN_KEEP_CACHE has the same effect as on regular files: unless this
flag is given the cache is cleared upon completion of open.

So FOPEN_KEEP_CACHE and FOPEN_KEEP_CACHE flags should be used together to
make use of the directory caching facility introduced in the following
patches.

The FUSE_AUTO_INVAL_DATA flag returned in INIT reply also has the same
affect on the directory cache as it has on data cache for regular files.

Change-Id: I5bb254e4636ab3df0c529aa2f3593f36265f49cd
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2025-10-16 21:01:04 +01:00
..
2020-06-07 13:17:54 +02:00
2020-04-24 15:19:09 -07:00
2025-10-16 21:01:04 +01:00
2020-06-17 06:00:22 +05:30
2021-06-28 10:09:35 +05:30
2020-07-07 12:09:16 +05:30
2020-03-26 10:50:04 +05:30
2020-01-09 15:11:34 -08:00
2023-09-23 10:48:08 +02:00