summaryrefslogtreecommitdiffstats
path: root/block/blk-wbt.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher2017-02-21 23:19:10 +0100
committerBob Peterson2017-04-03 15:14:41 +0200
commit0a52aba7c2168636fc71635cf3ccb92a79a96c38 (patch)
treea6d611d27d4c2a91e894165e71f31488e442ccd8 /block/blk-wbt.h
parentMerge commit 'f9fe1c1' into for-next (diff)
downloadkernel-qcow2-linux-0a52aba7c2168636fc71635cf3ccb92a79a96c38.tar.gz
kernel-qcow2-linux-0a52aba7c2168636fc71635cf3ccb92a79a96c38.tar.xz
kernel-qcow2-linux-0a52aba7c2168636fc71635cf3ccb92a79a96c38.zip
gfs2: Switch to rhashtable_lookup_get_insert_fast
Switch from rhashtable_lookup_insert_fast + rhashtable_lookup_fast to rhashtable_lookup_get_insert_fast, which is cleaner and avoids an extra rhashtable lookup. At the same time, turn the retry loop in gfs2_glock_get into an infinite loop. The lookup or insert will eventually succeed, usually very fast, but there is no reason to give up trying at a fixed number of iterations. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'block/blk-wbt.h')
0 files changed, 0 insertions, 0 deletions