-
Ritesh Harjani authored
Apparently our current rwsem code doesn't like doing the trylock, then lock for real scheme. So change our dax read/write methods to just do the trylock for the RWF_NOWAIT case. This seems to fix AIM7 regression in some scalable filesystems upto ~25% in some cases. Claimed in commit 942491c9 ("xfs: fix AIM7 regression") Reviewed-by:
Jan Kara <jack@suse.cz> Reviewed-by:
Matthew Bobrowski <mbobrowski@mbobrowski.org> Tested-by:
Joseph Qi <joseph.qi@linux.alibaba.com> Signed-off-by:
Ritesh Harjani <riteshh@linux.ibm.com> Link: https://lore.kernel.org/r/20191212055557.11151-2-riteshh@linux.ibm.comSigned-off-by:
Theodore Ts'o <tytso@mit.edu>
f629afe3