Re: [PATCH v3 7/9] cachefiles: wait for ondemand_object_worker to finish when dropping object

2024-06-28 Thread Gao Xiang
On 2024/6/28 14:29, libao...@huaweicloud.com wrote: 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 on

[PATCH v3 7/9] cachefiles: wait for ondemand_object_worker to finish when dropping object

2024-06-27 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