diff options
author | 2024-03-26 14:39:21 +0900 | |
---|---|---|
committer | 2024-04-09 23:20:29 +0200 | |
commit | 073bda7a541731f41ed08f32d286394236c74005 (patch) | |
tree | 383dee0217648b88d8a27cfc7764620cc5845a88 /scripts/gdb/linux/utils.py | |
parent | btrfs: zoned: do not flag ZEROOUT on non-dirty extent buffer (diff) | |
download | linux-rng-073bda7a541731f41ed08f32d286394236c74005.tar.xz linux-rng-073bda7a541731f41ed08f32d286394236c74005.zip |
btrfs: zoned: add ASSERT and WARN for EXTENT_BUFFER_ZONED_ZEROOUT handling
Add an ASSERT to catch a faulty delayed reference item resulting from
prematurely cleared extent buffer.
Also, add a WARN to detect if we try to dirty a ZEROOUT buffer again, which
is suspicious as its update will be lost.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions