bcache: Kill unaligned bvec hack
authorKent Overstreet <kmo@daterainc.com>
Sat, 23 Nov 2013 03:37:48 +0000 (19:37 -0800)
committerKent Overstreet <kmo@daterainc.com>
Sun, 24 Nov 2013 06:33:47 +0000 (22:33 -0800)
commited9c47bebeeea4a468b07cfd745c690190f8014c
tree804f88d900daabb8612ed881b8b7e1ab88872d79
parent2c30c71bd653afcbed7f6754e8fe3d16e0e708a1
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>
drivers/md/bcache/bcache.h
drivers/md/bcache/request.c
drivers/md/bcache/super.c