summaryrefslogtreecommitdiff
path: root/fs/gfs2/log.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2020-06-10 19:31:56 +0300
committerAndreas Gruenbacher <agruenba@redhat.com>2020-06-30 14:04:45 +0300
commit34244d711dea568f4a42c5b0d6b3d620f8cb6971 (patch)
tree137ff7207b0d91d4d6988d92605cfb2124bf7f62 /fs/gfs2/log.h
parent58e08e8d83ab03a1ca25d53420bd0b87f2dfe458 (diff)
downloadlinux-34244d711dea568f4a42c5b0d6b3d620f8cb6971.tar.xz
gfs2: Don't sleep during glock hash walk
In flush_delete_work, instead of flushing each individual pending delayed work item, cancel and re-queue them for immediate execution. The waiting isn't needed here because we're already waiting for all queued work items to complete in gfs2_flush_delete_work. This makes the code more efficient, but more importantly, it avoids sleeping during a rhashtable walk, inside rcu_read_lock(). Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/log.h')
0 files changed, 0 insertions, 0 deletions