Message ID | cover.1657321126.git.naohiro.aota@wdc.com (mailing list archive) |
---|---|
Headers | show |
Series | btrfs: zoned: fix active zone tracking issues | expand |
On Sat, Jul 09, 2022 at 08:18:37AM +0900, Naohiro Aota wrote: > This series addresses mainly two issues on zoned btrfs' active zone > tracking and one issue which is a dependency of the main issue. > > * ChangeLog > - v2 > - Support sanity tests (Johannes) > - fs_info can be NULL while it is running sanity tests. Consider that > case in CONFIG_FS_BTRFS_RUN_SANITY_TESTS. > - Propagete an error of btrfs_zone_finish() (Johannes) > - Add a comment to max_segments limitation (Christoph) > - Rename btrfs_finish_one_bg() to btrfs_zone_finish_one_bg() to make the > it clear it is related to zoned code. > - Do not reduce active_total_bytes when finishing a block group. > - While it's no longer active, but it still can have "used" bytes. So, > it should be counted to host "total_bytes". Or, it breaks free space > calculation. > - Do not try to activate a fully allocated block group. The self tests are now working and I haven't seen any new errors in fstests, so I'll add the branch to misc-next soon. This will be probably the last big patchset before code freeze.
On Sat, Jul 09, 2022 at 08:18:37AM +0900, Naohiro Aota wrote:
> This series addresses mainly two issues on zoned btrfs' active zone
Btw, I have one minor remark that's in many patches: please don't use
'zoned btrfs' when referring to it, either use 'zoned filesystem' or
'zoned mode'. I've fixed it where I noticed but in the future it would
be good to have it in the patches from the beginning. Thanks.