aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2022-11-21 16:29:37 +0900
committerDamien Le Moal <[email protected]>2022-11-25 17:01:22 +0900
commitdb58653ce0c7cf4d155727852607106f890005c0 (patch)
tree4248dbc5acc984c73f4bc2ae8de017949686fad3 /scripts/gdb
parent4e45886956a20942800259f326a04417292ae314 (diff)
zonefs: Fix active zone accounting
If a file zone transitions to the offline or readonly state from an active state, we must clear the zone active flag and decrement the active seq file counter. Do so in zonefs_account_active() using the new zonefs inode flags ZONEFS_ZONE_OFFLINE and ZONEFS_ZONE_READONLY. These flags are set if necessary in zonefs_check_zone_condition() based on the result of report zones operation after an IO error. Fixes: 87c9ce3ffec9 ("zonefs: Add active seq file accounting") Cc: [email protected] Signed-off-by: Damien Le Moal <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions