diff options
author | Mingming <cmm@us.ibm.com> | 2009-11-10 16:48:04 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-11-10 16:48:04 +0100 |
commit | 5f5249507e4b5c4fc0f9c93f33d133d8c95f47e1 (patch) | |
tree | 0b0a790f568c07298c3a4122572e84392c787648 /fs/Makefile | |
parent | ext4: fix ext4_ext_direct_IO()'s return value after converting uninit extents (diff) | |
download | linux-5f5249507e4b5c4fc0f9c93f33d133d8c95f47e1.tar.xz linux-5f5249507e4b5c4fc0f9c93f33d133d8c95f47e1.zip |
ext4: skip conversion of uninit extents after direct IO if there isn't any
At the end of direct I/O operation, ext4_ext_direct_IO() always called
ext4_convert_unwritten_extents(), regardless of whether there were any
unwritten extents involved in the I/O or not.
This commit adds a state flag so that ext4_ext_direct_IO() only calls
ext4_convert_unwritten_extents() when necessary.
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/Makefile')
0 files changed, 0 insertions, 0 deletions