diff options
author | Ritesh Harjani (IBM) <ritesh.list@gmail.com> | 2023-04-21 15:16:13 +0530 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2023-05-16 11:32:42 +0200 |
commit | 5b5b4ff8f92daec4475318c0ec4cb4ed43de9eb6 (patch) | |
tree | ac39809b3956f3b4328085a1b9fab45e7a21b01d /scripts/gdb/linux/lists.py | |
parent | 31b2ebc0929e964f4edfbfa7129d43f7e3c17165 (diff) |
ext4: Use generic_buffers_fsync_noflush() implementation
ext4 when got converted to iomap for dio, it copied __generic_file_fsync
implementation to avoid taking inode_lock in order to avoid any deadlock
(since iomap takes an inode_lock while calling generic_write_sync()).
The previous patch already added generic_buffers_fsync*() which does not
take any inode_lock(). Hence kill the redundant code and use
generic_buffers_fsync_noflush() function instead.
Tested-by: Disha Goel <disgoel@linux.ibm.com>
Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Message-Id: <b43d4bb4403061ed86510c9587673e30a461ba14.1682069716.git.ritesh.list@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions