f2fs: allow write page cache when writting cp
authorYunlei He <heyunlei@huawei.com>
Mon, 13 Mar 2017 12:22:18 +0000 (20:22 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 25 Mar 2017 07:19:37 +0000 (00:19 -0700)
commit59c9081bc86ef0b273a41abf2c1f413301429a6d
tree64297b01f018b2eff6ae04e6668a06e4eafcba97
parent22588f8773f687449ce6e97dce9f102553440d30
f2fs: allow write page cache when writting cp

This patch allow write data to normal file when writting
new checkpoint.

We relax three limitations for write_begin path:
1. data allocation
2. node allocation
3. variables in checkpoint

Signed-off-by: Yunlei He <heyunlei@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/node.c
fs/f2fs/super.c