[PATCH v3 6/9] cachefiles: cancel all requests for the object that is being dropped

Gao Xiang hsiangkao at linux.alibaba.com
Fri Jun 28 17:21:39 AEST 2024



On 2024/6/28 14:29, libaokun at huaweicloud.com wrote:
> From: Baokun Li <libaokun1 at huawei.com>
> 
> Because after an object is dropped, requests for that object are useless,
> cancel them to avoid causing other problems.
> 
> This prepares for the later addition of cancel_work_sync(). After the
> reopen requests is generated, cancel it to avoid cancel_work_sync()
> blocking by waiting for daemon to complete the reopen requests.
> 
> Signed-off-by: Baokun Li <libaokun1 at huawei.com>
> Acked-by: Jeff Layton <jlayton at kernel.org>

Reviewed-by: Gao Xiang <hsiangkao at linux.alibaba.com>

Thanks,
Gao Xiang


More information about the Linux-erofs mailing list