diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-02-18 16:03:26 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-03-14 13:13:51 +0100 |
commit | 606f82e797e26013c80d25790639587a5d4dfbb7 (patch) | |
tree | 73db2fa06529a730109fc8da2f850104741d2490 /fs/fs_parser.c | |
parent | btrfs: remove the bio argument from finish_compressed_bio_read (diff) | |
download | linux-606f82e797e26013c80d25790639587a5d4dfbb7.tar.xz linux-606f82e797e26013c80d25790639587a5d4dfbb7.zip |
btrfs: track compressed bio errors as blk_status_t
Right now we just have a binary "errors" flag, so any error we get on
the compressed bio's gets translated to EIO. This isn't necessarily a
bad thing, but if we get an ENOMEM it may be nice to know that's what
happened instead of an EIO. Track our errors as a blk_status_t, and do
the appropriate setting of the errors accordingly.
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/fs_parser.c')
0 files changed, 0 insertions, 0 deletions