summaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache/bcache.h
diff options
context:
space:
mode:
authorKent Overstreet2013-11-23 04:37:48 +0100
committerKent Overstreet2013-11-24 07:33:47 +0100
commited9c47bebeeea4a468b07cfd745c690190f8014c (patch)
tree804f88d900daabb8612ed881b8b7e1ab88872d79 /drivers/md/bcache/bcache.h
parentblock: Convert various code to bio_for_each_segment() (diff)
downloadkernel-qcow2-linux-ed9c47bebeeea4a468b07cfd745c690190f8014c.tar.gz
kernel-qcow2-linux-ed9c47bebeeea4a468b07cfd745c690190f8014c.tar.xz
kernel-qcow2-linux-ed9c47bebeeea4a468b07cfd745c690190f8014c.zip
bcache: Kill unaligned bvec hack
Bcache has a hack to avoid cloning the biovec if it's all full pages - but with immutable biovecs coming this won't be necessary anymore. For now, we remove the special case and always clone the bvec array so that the immutable biovec patches are simpler. Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Diffstat (limited to 'drivers/md/bcache/bcache.h')
-rw-r--r--drivers/md/bcache/bcache.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/bcache/bcache.h b/drivers/md/bcache/bcache.h
index 4beb55a0ff30..6b6fe935be73 100644
--- a/drivers/md/bcache/bcache.h
+++ b/drivers/md/bcache/bcache.h
@@ -279,7 +279,6 @@ struct bcache_device {
unsigned long sectors_dirty_last;
long sectors_dirty_derivative;
- mempool_t *unaligned_bvec;
struct bio_set *bio_split;
unsigned data_csum:1;