diff options
author | Jia Zhu <zhujia.zj@bytedance.com> | 2022-06-09 10:54:10 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2022-07-05 17:12:21 +0200 |
commit | 65aa5f6fd8a12e0a343aaf1815949a79a49e3f35 (patch) | |
tree | 2f0f615fe963c85c974034675921d6314881ea4d /fs/kernel_read_file.c | |
parent | fscache: Introduce fscache_cookie_is_dropped() (diff) | |
download | linux-65aa5f6fd8a12e0a343aaf1815949a79a49e3f35.tar.xz linux-65aa5f6fd8a12e0a343aaf1815949a79a49e3f35.zip |
cachefiles: narrow the scope of flushed requests when releasing fd
When an anonymous fd is released, only flush the requests
associated with it, rather than all of requests in xarray.
Fixes: 9032b6e8589f ("cachefiles: implement on-demand read")
Signed-off-by: Jia Zhu <zhujia.zj@bytedance.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Jeffle Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://listman.redhat.com/archives/linux-cachefs/2022-June/006937.html
Diffstat (limited to 'fs/kernel_read_file.c')
0 files changed, 0 insertions, 0 deletions