aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-11-11 16:46:40 -0800
committerMister Oyster <oysterized@gmail.com>2017-04-13 12:34:28 +0200
commit8cb73da38fa3eac200cb004cf4b214ffe0855208 (patch)
treeefc5372a4c4ca2a3bce05fdc9ea521127fe9353a /scripts
parentd78ce8ef2e85e4f1e5006377100ae99a2e45bbae (diff)
f2fs: fix redundant block allocation
In direct_IO path of f2fs_file_write_iter(), 1. f2fs_preallocate_blocks(F2FS_GET_BLOCK_PRE_DIO) -> allocate LBA X 2. f2fs_direct_IO() -> return 0; Then, f2fs_write_data_page() will allocate another LBA X+1. This makes EIO triggered by HM-SMR. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org> Conflicts: fs/f2fs/data.c
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions