diff options
author | Josef Bacik <[email protected]> | 2022-02-18 10:03:26 -0500 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-03-14 13:13:51 +0100 |
commit | 606f82e797e26013c80d25790639587a5d4dfbb7 (patch) | |
tree | 73db2fa06529a730109fc8da2f850104741d2490 /fs/btrfs/dev-replace.c | |
parent | e14bfdb5a1f5fbb0a45f64a763c8da00637072d1 (diff) |
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 <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions