+1
−0
+3
−0
+23
−0
Loading
mainline inclusion from mainline-v6.8-rc1 commit e73fa11a356ca0905c3cc648eaacc6f0f2d2c8b3 category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IA6I1T Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e73fa11a356ca0905c3cc648eaacc6f0f2d2c8b3 -------------------------------- Previously, in ondemand read scenario, if the anonymous fd was closed by user daemon, inflight and subsequent read requests would return EIO. As long as the device connection is not released, user daemon can hold and restore inflight requests by setting the request flag to CACHEFILES_REQ_NEW. Suggested-by:Gao Xiang <hsiangkao@linux.alibaba.com> Signed-off-by:
Jia Zhu <zhujia.zj@bytedance.com> Signed-off-by:
Xin Yin <yinxin.x@bytedance.com> Link: https://lore.kernel.org/r/20231120041422.75170-6-zhujia.zj@bytedance.com Reviewed-by:
Jingbo Xu <jefflexu@linux.alibaba.com> Reviewed-by:
David Howells <dhowells@redhat.com> Signed-off-by:
Christian Brauner <brauner@kernel.org> Signed-off-by:
Zizhi Wo <wozizhi@huawei.com>