f2fs: preallocate blocks for buffered aio writes
authorJaegeuk Kim <jaegeuk@kernel.org>
Wed, 3 Feb 2016 21:49:44 +0000 (13:49 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 23 Feb 2016 00:07:23 +0000 (16:07 -0800)
commit24b8491251cde66879e74092167cc0f27a1f11ce
treeffb8fc277cc2a649e6d98c6305083683e2dfee1b
parentb439b103a6c9eb3417f34b4a609d4e00b4c59aca
f2fs: preallocate blocks for buffered aio writes

This patch preallocates data blocks for buffered aio writes.
With this patch, we can avoid redundant locking and unlocking of node pages
given consecutive aio request.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/f2fs.h
include/linux/f2fs_fs.h