Re: [PATCH 12/12] cachefiles: make on-demand read killable

2024-04-24 Thread Jia Zhu via Linux-erofs
在 2024/4/24 11:39, libao...@huaweicloud.com 写道: From: Baokun Li Replacing wait_for_completion() with wait_for_completion_killable() in cachefiles_ondemand_send_req() allows us to kill processes that might trigger a hunk_task if the daemon is abnormal. But now only CACHEFILES_OP_READ is kill

[PATCH 12/12] cachefiles: make on-demand read killable

2024-04-23 Thread libaokun
From: Baokun Li Replacing wait_for_completion() with wait_for_completion_killable() in cachefiles_ondemand_send_req() allows us to kill processes that might trigger a hunk_task if the daemon is abnormal. But now only CACHEFILES_OP_READ is killable, because OP_CLOSE and OP_OPEN is initiated from