bcache: Kill unaligned bvec hack
authorKent Overstreet <kmo@daterainc.com>
Wed, 7 Aug 2013 21:21:16 +0000 (14:21 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 31 Oct 2013 14:04:48 +0000 (08:04 -0600)
commit6b5ab3ace42c26bab4af3e5936ac241b201684da
tree53fc825bcbdf78724146d5bdf55500e3139187d1
parent1334fde40be2d11e0bf4f74c0717c32f604c8d10
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>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/bcache.h
drivers/md/bcache/debug.c
drivers/md/bcache/request.c
drivers/md/bcache/request.h
drivers/md/bcache/super.c