]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: fallocate data blocks in single locked node page
authorJaegeuk Kim <jaegeuk@kernel.org>
Fri, 6 May 2016 22:30:38 +0000 (15:30 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 7 May 2016 17:44:55 +0000 (10:44 -0700)
commit222ff56353066537f6549aae535eb4ae947c43c9
tree8c76421e5fdc95531c0019bfb1760cc47aa1a965
parenta78e2278a85c4d86cc0b55bc3d0871886a57f72b
f2fs: fallocate data blocks in single locked node page

This patch is to improve the expand_inode speed in fallocate by allocating
data blocks as many as possible in single locked node page.

In SSD,
 # time fallocate -l 500G $MNT/testfile

Before : 1m 33.410 s
After  : 24.758 s

Reported-by: Stephen Bates <stephen.bates@microsemi.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c