diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2025-07-23 15:38:10 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-08-13 12:28:42 +0200 |
commit | f0ba0e7172a222ea6043b61ecd86723c46d7bcf2 (patch) | |
tree | 23792eae668a30cd5a1cc6c6e5b9cc179f78cfa6 /rust/helpers/platform.c | |
parent | 7b632596188e1973c6b3ac1c9f8252f735e1039f (diff) |
btrfs: zoned: skip ZONE FINISH of conventional zones
Don't call ZONE FINISH for conventional zones as this will result in I/O
errors. Instead check if the zone that needs finishing is a conventional
zone and if yes skip it.
Also factor out the actual handling of finishing a single zone into a
helper function, as do_zone_finish() is growing ever bigger and the
indentations levels are getting higher.
Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions