aboutsummaryrefslogtreecommitdiff
path: root/kernel/resource.c
diff options
context:
space:
mode:
authorAmir Goldstein2023-08-22 20:50:59 +0300
committerAmir Goldstein2023-10-31 00:12:54 +0200
commit389a4a4a19851211bb9c40d31c664591fb206f69 (patch)
tree09e00f277c9026cb2a1a60dfae0a366cb2f06695 /kernel/resource.c
parent5f034d34737e8c440bbbd13e5ef283793d841140 (diff)
ovl: punt write aio completion to workqueue
We want to protect concurrent updates of ovl inode size and mtime (i.e. ovl_copyattr()) from aio completion context. Punt write aio completion to a workqueue so that we can protect ovl_copyattr() with a spinlock. Export sb_init_dio_done_wq(), so that overlayfs can use its own dio workqueue to punt aio completions. Suggested-by: Jens Axboe <axboe@kernel.dk> Link: https://lore.kernel.org/r/8620dfd3-372d-4ae0-aa3f-2fe97dda1bca@kernel.dk/ Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions