]> Gentwo Git Trees - linux/.git/commit
gfs2: Asynchronous withdraw
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 5 Aug 2025 21:12:06 +0000 (23:12 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 26 Nov 2025 23:51:47 +0000 (23:51 +0000)
commit9c4a3de6cd5b46aa743c460b86eb58fe5f93daec
tree1e29b74efcac9b34d986fa86ec814e916ae5a755
parent9334c73fb16b183a6d4af09ce1d445f7f89b8d49
gfs2: Asynchronous withdraw

So far, withdraws are carried out in the context of the calling task.
When another task tries to withdraw while a withdraw is already
underway, that task blocks as well.  Change that to carry out withdraws
asynchronously in workqueue context and don't block the task triggering
the withdraw anymore.

Fixes: syzbot+6b156e132970e550194c@syzkaller.appspotmail.com
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/incore.h
fs/gfs2/ops_fstype.c
fs/gfs2/super.c
fs/gfs2/util.c
fs/gfs2/util.h