diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-03-31 20:43:07 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-05-12 05:37:13 +0200 |
commit | b4b10061ef98c583bcf82a4200703fbaa98c18dc (patch) | |
tree | 90c1ba24406695843081ce4400b1a26c92d1a615 /fs/9p/vfs_super.c | |
parent | f2fs: use round_up to enhance calculation (diff) | |
download | linux-b4b10061ef98c583bcf82a4200703fbaa98c18dc.tar.xz linux-b4b10061ef98c583bcf82a4200703fbaa98c18dc.zip |
f2fs: refactor resize_fs to avoid meta updates in progress
Sahitya raised an issue:
- prevent meta updates while checkpoint is in progress
allocate_segment_for_resize() can cause metapage updates if
it requires to change the current node/data segments for resizing.
Stop these meta updates when there is a checkpoint already
in progress to prevent inconsistent CP data.
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/9p/vfs_super.c')
0 files changed, 0 insertions, 0 deletions