Skip to content
Commit 846f4045 authored by Steven Whitehouse's avatar Steven Whitehouse
Browse files

GFS2: Don't flush delete workqueue when releasing the transaction lock



There is no requirement to flush the delete workqueue before a
gfs2 filesystem is suspended. The workqueue's work will just
be suspended along with the rest of the tasks on the filesystem.

The resolves a deadlock situation where the transaction lock's
demotion code was trying to flush the delete workqueue while at
the same time, the workqueue was waiting for the transaction
lock.

The delete workqueue is flushed by gfs2_make_fs_ro() already, so
that umount/remount are correctly protected anyway.

Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent bcd7278d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment