]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: remove EXT4_STATE_DIOREAD_LOCK flag
authorNikolay Borisov <nborisov@suse.com>
Thu, 22 Mar 2018 15:52:10 +0000 (11:52 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 22 Mar 2018 15:52:10 +0000 (11:52 -0400)
commitd235d978147e805d41858ea288397368529e9e2b
tree7a5c924c7c87ec9c372aa20f908b1c52790b5d3f
parent59733233fb28bf84ca02f2fe7d8e055f6012e004
ext4: remove EXT4_STATE_DIOREAD_LOCK flag

Commit 504be949949d ("ext4: Allow parallel DIO reads") reworked the way
locking happens around parallel dio reads. This resulted in obviating
the need for EXT4_STATE_DIOREAD_LOCK flag and accompanying logic.
Currently this amounts to dead code so let's remove it. No functional
changes

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/ext4.h
fs/ext4/extents.c
fs/ext4/inode.c
fs/ext4/ioctl.c
fs/ext4/move_extent.c
fs/ext4/super.c