summaryrefslogtreecommitdiffstats
path: root/mm/page_alloc.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2013-06-27 13:04:08 +0900
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-07-02 08:48:16 +0900
commita1dd3c13ce65b726fddfe72b9d2f1009db983ce6 (patch)
tree19bb400f51389da870b4f3bcbfa05e7dd2d97f23 /mm/page_alloc.c
parent5ebefc5b409a194a09da7ad1962b4bfce10a6859 (diff)
downloadlinux-a1dd3c13ce65b726fddfe72b9d2f1009db983ce6.tar.bz2
f2fs: fix to recover i_size from roll-forward
If user requests many data writes and fsync together, the last updated i_size should be stored to the inode block consistently. But, previous write_end just marks the inode as dirty and doesn't update its metadata into its inode block. After that, fsync just writes the inode block with newly updated data index excluding inode metadata updates. So, this patch introduces write_end in which updates inode block too when the i_size is changed. Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'mm/page_alloc.c')
0 files changed, 0 insertions, 0 deletions