Re: [PATCH 3/5] cachefiles: flush ondemand_object_worker during clean object

2024-04-24 Thread Baokun Li
Hi Jia, On 2024/4/25 13:41, Jia Zhu wrote: Thanks for catching this. How about adding a Fixes tag. Reviewed-by: Jia Zhu Ok, I will add the Fixes tag in the next iteration. Thank you very much for your review! Cheers! Baokun 在 2024/4/24 11:34, libao...@huaweicloud.com 写道: From: Hou Tao

Re: [PATCH 3/5] cachefiles: flush ondemand_object_worker during clean object

2024-04-24 Thread Jia Zhu via Linux-erofs
Thanks for catching this. How about adding a Fixes tag. Reviewed-by: Jia Zhu 在 2024/4/24 11:34, libao...@huaweicloud.com 写道: From: Hou Tao When queuing ondemand_object_worker() to re-open the object, cachefiles_object is not pinned. The cachefiles_object may be freed when the pending read r

[PATCH 3/5] cachefiles: flush ondemand_object_worker during clean object

2024-04-23 Thread libaokun
From: Hou Tao When queuing ondemand_object_worker() to re-open the object, cachefiles_object is not pinned. The cachefiles_object may be freed when the pending read request is completed intentionally and the related erofs is umounted. If ondemand_object_worker() runs after the object is freed, it