commit | 6de8687ccdefed40d617492f4e1b3962eb577b6b | [log] [tgz] |
---|---|---|
author | Eric Biggers <ebiggers@google.com> | Fri Jul 16 09:39:12 2021 -0500 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Sun Jul 25 08:42:37 2021 -0700 |
tree | efc09e5d7cc7444794a0809dc8f617fbb7fd492a | |
parent | 3e679dc78c17825a55e6f2cdb9078e375c945b15 [diff] |
f2fs: remove allow_outplace_dio() We can just check f2fs_lfs_mode() directly. The block_unaligned_IO() check is redundant because in LFS mode, f2fs doesn't do direct I/O writes that aren't block-aligned (due to f2fs_force_buffered_io() returning true in this case, triggering the fallback to buffered I/O). Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>