gfs2: use workqueue instead of slow-work
Workqueue can now handle high concurrency. Convert gfs to use workqueue instead of slow-work. * Steven pointed out that recovery path might be run from allocation path and thus requires forward progress guarantee without memory allocation. Create and use gfs_recovery_wq with rescuer. Please note that forward progress wasn't guaranteed with slow-work. * Updated to use non-reentrant workqueue. Signed-off-by:Tejun Heo <tj@kernel.org> Acked-by:
Steven Whitehouse <swhiteho@redhat.com>
Showing
- fs/gfs2/Kconfig 0 additions, 1 deletionfs/gfs2/Kconfig
- fs/gfs2/incore.h 1 addition, 2 deletionsfs/gfs2/incore.h
- fs/gfs2/main.c 8 additions, 6 deletionsfs/gfs2/main.c
- fs/gfs2/ops_fstype.c 4 additions, 4 deletionsfs/gfs2/ops_fstype.c
- fs/gfs2/recovery.c 21 additions, 33 deletionsfs/gfs2/recovery.c
- fs/gfs2/recovery.h 4 additions, 2 deletionsfs/gfs2/recovery.h
- fs/gfs2/sys.c 2 additions, 1 deletionfs/gfs2/sys.c
Loading
Please register or sign in to comment