diff options
author | 2021-04-30 15:34:18 +0200 | |
---|---|---|
committer | 2021-06-21 15:19:04 +0200 | |
commit | 06e1e7f4223c98965fb721b4b1e12083cfbe777e (patch) | |
tree | f44f39b71f5ee053f041d6153e18fc2f2079facf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | btrfs: zoned: print message when zone sanity check type fails (diff) | |
download | linux-dev-06e1e7f4223c98965fb721b4b1e12083cfbe777e.tar.xz linux-dev-06e1e7f4223c98965fb721b4b1e12083cfbe777e.zip |
btrfs: zoned: bail out if we can't read a reliable write pointer
If we can't read a reliable write pointer from a sequential zone fail
creating the block group with an I/O error.
Also if the read write pointer is beyond the end of the respective zone,
fail the creation of the block group on this zone with an I/O error.
While this could also happen in real world scenarios with misbehaving
drives, this issue addresses a problem uncovered by fstests' test case
generic/475.
CC: stable@vger.kernel.org # 5.12+
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions