commit | cfe58f9dcd9afe181894e2257e3f8aa3fee840c5 | [log] [tgz] |
---|---|---|
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Thu Oct 31 14:57:01 2013 +0900 |
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | Thu Oct 31 16:01:03 2013 +0900 |
tree | 1acd83b88bb0cb1aed28ffe3ae6091f69bd0f091 | |
parent | 44c60bf2b9f2808e127fa4cd3b11b50a46cf5817 [diff] |
f2fs: avoid to wait all the node blocks during fsync Previously, f2fs_sync_file() waits for all the node blocks to be written. But, we don't need to do that, but wait only the inode-related node blocks. This patch adds wait_on_node_pages_writeback() in which waits inode-related node blocks that are on writeback. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>