diff options
author | Daniel Rosenberg <drosen@google.com> | 2018-05-08 19:48:33 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2018-11-21 11:38:23 -0800 |
commit | 1ccd8313ba54497e9516ca5ad395c32730c0d270 (patch) | |
tree | 2056d4fa2996e671e22a4c4d39701e4334a081cc /include/f2fs_fs.h | |
parent | 38e47ce596093566e9a06626406b3137afe0c0e7 (diff) | |
download | f2fs-tools-1ccd8313ba54497e9516ca5ad395c32730c0d270.tar.gz |
WIP: Add partial shrinking support to f2fs
allow 'safe' resizing leaving the metadata nearly unchanged.
Will likely need to adjust growing for the case where a fs
had previously shrunk without altering data, and the newly grown
fs would be smaller than the original. Probably makes sense to
case it out into metadata size changes, instead of fs size changes
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Diffstat (limited to 'include/f2fs_fs.h')
-rw-r--r-- | include/f2fs_fs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/f2fs_fs.h b/include/f2fs_fs.h index e3b4529..e2a5767 100644 --- a/include/f2fs_fs.h +++ b/include/f2fs_fs.h @@ -404,6 +404,9 @@ struct f2fs_configuration { int nr_opt; #endif + /* resize parameters */ + int safe_resize; + /* precomputed fs UUID checksum for seeding other checksums */ u_int32_t chksum_seed; }; |