diff options
| author | Mark Harmstone <mark@harmstone.com> | 2026-01-07 14:09:17 +0000 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2026-02-03 07:54:36 +0100 |
| commit | 2aef934b56b3ae07c292831cf9bf6bafcaaa005e (patch) | |
| tree | a41b591e015f426b0a849aee97acfa42bd19acd6 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 7cddbb4339d4be16aa5341e3a27e63c34d2c4e0d (diff) | |
btrfs: populate fully_remapped_bgs_list on mount
Add a function btrfs_populate_fully_remapped_bgs_list() which gets
called on mount, which looks for fully remapped block groups
(i.e. identity_remap_count == 0) which haven't yet had their chunk
stripes and device extents removed.
This happens when a filesystem is unmounted while async discard has not
yet finished, as otherwise the data range occupied by the chunk stripes
would be permanently unusable.
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Mark Harmstone <mark@harmstone.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
