[PATCH V2 5/5] cachefiles: add restore command to recover inflight ondemand read requests

JeffleXu jefflexu at linux.alibaba.com
Fri Oct 14 17:33:17 AEDT 2022



On 10/14/22 11:07 AM, Jia Zhu wrote:
> 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 at linux.alibaba.com>
> Signed-off-by: Jia Zhu <zhujia.zj at bytedance.com>
> Signed-off-by: Xin Yin <yinxin.x at bytedance.com>

LGTM.

Reviewed-by: Jingbo Xu <jefflexu at linux.alibaba.com>

-- 
Thanks,
Jingbo


More information about the Linux-erofs mailing list