diff options
author | 2025-03-24 11:51:01 -0400 | |
---|---|---|
committer | 2025-03-25 11:49:16 -0400 | |
commit | 3ba0240a8789f8c059990b81c6f34c29769a5a49 (patch) | |
tree | 56cd7536228392bcc3bfc70916e24e9bb73e01eb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcachefs: Fix nonce inconsistency in bch2_write_prep_encoded_data() (diff) | |
download | wireguard-linux-3ba0240a8789f8c059990b81c6f34c29769a5a49.tar.xz wireguard-linux-3ba0240a8789f8c059990b81c6f34c29769a5a49.zip |
bcachefs: Fix silent short reads in data read retry path
__bch2_read, before calling __bch2_read_extent(), sets bvec_iter.bi_size
to "the size we can read from the current extent" with a swap, and
restores it to "the size for the total read" after the read_extent call
with another swap.
But we neglected to do the restore before the "if (ret) goto err;" -
which is a problem if we're retrying those errors.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions