diff options
| author | Chao Yu <yuchao0@huawei.com> | 2021-02-20 12:35:40 +0300 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2021-03-13 00:16:41 +0300 |
| commit | 7dede88659df38f96128ab3922c50dde2d29c574 (patch) | |
| tree | 6f1b51ca470ec210cc799f14ff31681fdd202cf1 /lib/mpi/mpi-internal.h | |
| parent | c67c8c0f47eb0bf49d6cf165389554e379443968 (diff) | |
| download | linux-7dede88659df38f96128ab3922c50dde2d29c574.tar.xz | |
f2fs: fix to allow migrating fully valid segment
F2FS_IOC_FLUSH_DEVICE/F2FS_IOC_RESIZE_FS needs to migrate all blocks of
target segment to other place, no matter the segment has partially or fully
valid blocks.
However, after commit 803e74be04b3 ("f2fs: stop GC when the victim becomes
fully valid"), we may skip migration due to target segment is fully valid,
result in failing the ioctl interface, fix this.
Fixes: 803e74be04b3 ("f2fs: stop GC when the victim becomes fully valid")
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
