aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-02-10 08:48:34 +0100
committerDavid Sterba <[email protected]>2023-04-17 18:01:14 +0200
commit544fe4a903ce71fb8ecbc159db6f245ef3f691fe (patch)
tree3342253b55769ba213b2114cec3db34ba25078c0 /rust/helpers.c
parent18d758a2d81a97b9a54a37d535870ce3170cc208 (diff)
btrfs: embed a btrfs_bio into struct compressed_bio
Embed a btrfs_bio into struct compressed_bio. This avoids potential (so far theoretical) deadlocks due to nesting of btrfs_bioset allocations for the original read bio and the compressed bio, and avoids an extra memory allocation in the I/O path. Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions