diff options
author | Ritesh Harjani <[email protected]> | 2019-12-12 11:25:55 +0530 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2019-12-22 23:57:27 -0500 |
commit | f629afe3369e9885fd6e9cc7a4f514b6a65cf9e9 (patch) | |
tree | 7f7b3f170985b97099e2c7b9f149ebc0975e41eb /drivers/usb/cdns3/cdns3-imx.c | |
parent | 46cf053efec6a3a5f343fead837777efe8252a46 (diff) |
ext4: fix ext4_dax_read/write inode locking sequence for IOCB_NOWAIT
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 942491c9e6d6 ("xfs: fix AIM7 regression")
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Matthew Bobrowski <[email protected]>
Tested-by: Joseph Qi <[email protected]>
Signed-off-by: Ritesh Harjani <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions