]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf4a3c3769b7b1cb73c78179fecf247cfb16b6383
tree804f88d900daabb8612ed881b8b7e1ab88872d79
parentb0e10183d3b5fda85ecf441eab102483457e8d95
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