linux/fs/ext4
Ritesh Harjani 428bb08aed ext4: fix ext4_dax_read/write inode locking sequence for IOCB_NOWAIT
[ Upstream commit f629afe336 ]

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 942491c9e6 ("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.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-24 08:34:35 +01:00
..
acl.c
acl.h
balloc.c
bitmap.c
block_validity.c ext4: add cond_resched() to ext4_protect_reserved_inode 2020-02-19 19:51:55 +01:00
dir.c ext4: fix checksum errors with indexed dirs 2020-02-19 19:51:55 +01:00
ext4_extents.h
ext4_jbd2.c
ext4_jbd2.h ext4: use jbd2_inode dirty range scoping 2019-07-28 08:29:29 +02:00
ext4.h ext4: fix checksum errors with indexed dirs 2020-02-19 19:51:55 +01:00
extents_status.c
extents_status.h
extents.c ext4: fix warning inside ext4_convert_unwritten_extents_endio 2019-10-05 13:10:11 +02:00
file.c ext4: fix ext4_dax_read/write inode locking sequence for IOCB_NOWAIT 2020-02-24 08:34:35 +01:00
fsmap.c
fsmap.h
fsync.c Revert "ext4: use ext4_write_inode() when fsyncing w/o a journal" 2019-02-15 08:10:13 +01:00
hash.c
ialloc.c
indirect.c ext4: cleanup bh release code in ext4_ind_remove_space() 2019-04-05 22:32:55 +02:00
inline.c ext4: set error return correctly when ext4_htree_store_dirent fails 2020-01-27 14:51:03 +01:00
inode.c ext4: fix checksum errors with indexed dirs 2020-02-19 19:51:55 +01:00
ioctl.c ext4: disallow files with EXT4_JOURNAL_DATA_FL from EXT4_IOC_SWAP_BOOT 2019-11-06 13:05:37 +01:00
Kconfig
Makefile
mballoc.c ext4: make sanity check in mballoc more strict 2019-05-22 07:37:42 +02:00
mballoc.h
migrate.c
mmp.c ext4: don't assume that mmp_nodename/bdevname have NUL 2020-02-19 19:51:55 +01:00
move_extent.c ext4: use jbd2_inode dirty range scoping 2019-07-28 08:29:29 +02:00
namei.c ext4: fix checksum errors with indexed dirs 2020-02-19 19:51:55 +01:00
page-io.c ext4: fix deadlock allocating crypto bounce page from mempool 2020-02-11 04:34:16 -08:00
readpage.c
resize.c ext4: avoid drop reference to iloc.bh twice 2019-05-22 07:37:42 +02:00
super.c ext4: improve explanation of a mount failure caused by a misconfigured kernel 2020-02-19 19:51:55 +01:00
symlink.c
sysfs.c
truncate.h
xattr_security.c
xattr_trusted.c
xattr_user.c
xattr.c ext4: ignore e_value_offs for xattrs with value-in-ea-inode 2019-05-22 07:37:42 +02:00
xattr.h