diff options
| author | Yunlei He <heyunlei@huawei.com> | 2018-01-03 18:03:04 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-02-07 18:05:45 -0800 |
| commit | 4c6bc4be375adf7c4c99188829dfd17fccae930c (patch) | |
| tree | 70aaae36fafa7c68fcff1ee36b439856b8d54cf0 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 591b336387338e054067ff82bb535d4fde06179f (diff) | |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
