Hello,
Here is a series which cleans the btrfs source code of all the redundant
bio_get/set calls. After it's applied there is only a single bio_get inovcation
left in __alloc_device for the flush_bio (and that is wrong since it
leaks the bio, but this will be fixed in a follow up fix).
Nikolay Borisov (4):
btrfs: Remove redundant bio_get/set calls in compressed read/write
paths
btrfs: Remove redundant bio_get/set from submit_dio_repair_bio
btrfs: Remove redundan bio_get/bio_set pair from submit_one_bio
btrfs: Remove redundant pair of bio_get/set in __btrfs_submit_dio_bio
fs/btrfs/compression.c | 12 ------------
fs/btrfs/extent_io.c | 2 --
fs/btrfs/inode.c | 10 ++--------
3 files changed, 2 insertions(+), 22 deletions(-)
--
2.7.4
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html