[dm-devel] [RFC PATCH 14/16] DM: Wasted bio copy.
Ram Pai
linuxram at us.ibm.com
Mon Aug 15 17:36:51 UTC 2016
No point doing it.
Signed-off-by: Ram Pai <linuxram at us.ibm.com>
---
drivers/md/dm-inplace-compress.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c
index 55a515b..31b144b 100644
--- a/drivers/md/dm-inplace-compress.c
+++ b/drivers/md/dm-inplace-compress.c
@@ -1434,7 +1434,6 @@ static void dm_icomp_handle_write_comp(struct dm_icomp_req *req)
req->result = -EIO;
return;
}
- dm_icomp_bio_copy(req->bio, 0, io->decomp_data, count << 9, true);
/* compress data */
comp_len = io->comp_len;
--
1.7.1
More information about the dm-devel
mailing list