diff options
author | Yunlei He <heyunlei@huawei.com> | 2018-01-03 11:03:04 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-01-17 00:39:56 +0100 |
commit | 1eca05aa9d4d107a6f9e434b5041a775327a8a4b (patch) | |
tree | bab794aa920214ee69a14284366d0f1bb669ebef /drivers/mfd/rn5t618.c | |
parent | f2fs: show precise # of blocks that user/root can use (diff) | |
download | linux-1eca05aa9d4d107a6f9e434b5041a775327a8a4b.tar.xz linux-1eca05aa9d4d107a6f9e434b5041a775327a8a4b.zip |
f2fs: update inode info to inode page for new file
After checkpoint,
1. creat a new file A ,(with dirty inode && dirty inode page && xattr info)
2. backgroud wb write back file A inode page (without update from inode cache)
3. fsync file A, write back inode page of file A with inode cache info
4. sudden power off before new checkpoint
In this case, recovery process will try to recover a zero inode
page. Inline xattr flag of file A will be miss and xattr info
will be taken as blkaddr index.
Signed-off-by: Yunlei He <heyunlei@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'drivers/mfd/rn5t618.c')
0 files changed, 0 insertions, 0 deletions