commit | 0080c5076409d211fbe28d6f07966f7d39e58bad | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk@kernel.org> | Sat May 07 08:52:57 2016 -0700 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Sat May 07 10:44:57 2016 -0700 |
tree | 580bffd1c8dfb3de63e4f446bfb3db2d43c4f779 | |
parent | 79344efb93a26378a91193bed133cee42162cd81 [diff] |
f2fs: do not preallocate block unaligned to 4KB Previously f2fs_preallocate_blocks() tries to allocate unaligned blocks. In f2fs_write_begin(), however, prepare_write_begin() does not skip its allocation due to (len != 4KB). So, it needs locking node page twice unexpectedly. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>