diff options
author | Naohiro Aota <Naohiro.Aota@wdc.com> | 2023-05-08 22:14:20 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-05-10 14:50:12 +0200 |
commit | f84353c7c20536ea7e01eca79430eccdf3cc7348 (patch) | |
tree | a16e06905152b9cc13837912b0267529cc7b5f9f /scripts/gdb/linux/timerlist.py | |
parent | 0cad8f14d70cfeb5173dce93cafeba665a95430e (diff) |
btrfs: zoned: zone finish data relocation BG with last IO
For data block groups, we zone finish a zone (or, just deactivate it) when
seeing the last IO in btrfs_finish_ordered_io(). That is only called for
IOs using ZONE_APPEND, but we use a regular WRITE command for data
relocation IOs. Detect it and call btrfs_zone_finish_endio() properly.
Fixes: be1a1d7a5d24 ("btrfs: zoned: finish fully written block group")
CC: stable@vger.kernel.org # 6.1+
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions