diff options
| author | Chao Yu <[email protected]> | 2024-01-13 03:41:30 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <[email protected]> | 2024-02-05 18:58:39 -0800 |
| commit | 54607494875edd636aff3c21ace3ad9a7da758a9 (patch) | |
| tree | 63a31874c3c3c44d53514a6e237831df92203060 /tools/perf/scripts/python | |
| parent | eb8fbaa53374e0a2d4381190abfe708481517bbb (diff) | |
f2fs: compress: fix to avoid inconsistence bewteen i_blocks and dnode
In reserve_compress_blocks(), we update blkaddrs of dnode in prior to
inc_valid_block_count(), it may cause inconsistent status bewteen
i_blocks and blkaddrs once inc_valid_block_count() fails.
To fix this issue, it needs to reverse their invoking order.
Fixes: c75488fb4d82 ("f2fs: introduce F2FS_IOC_RESERVE_COMPRESS_BLOCKS")
Reviewed-by: Daeho Jeong <[email protected]>
Signed-off-by: Chao Yu <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions