commit | c75488fb4d82b697f381f855bf5b16779df440aa | [log] [tgz] |
---|---|---|
author | Chao Yu <yuchao0@huawei.com> | Fri Mar 06 14:35:33 2020 +0800 |
committer | Jaegeuk Kim <jaegeuk@kernel.org> | Mon May 11 20:37:12 2020 -0700 |
tree | ac6b83bb0d4c511b543def10047c6d3f4c5b2964 | |
parent | 34c061ad85a2f5d5e9e3b045d72f3b211db6e282 [diff] |
f2fs: introduce F2FS_IOC_RESERVE_COMPRESS_BLOCKS This patch introduces a new ioctl to rollback all compress inode status: - add reserved blocks in dnode blocks - increase i_compr_blocks, i_blocks, total_valid_block_count - remove immutable flag Then compress inode can be restored to support overwrite functionality again. Signee-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>