]> 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)
commit29864f08be56bddab90feff70a06039dc7d37eab
tree804f88d900daabb8612ed881b8b7e1ab88872d79
parent4a7d1f3c1565111e8c35a72562dfc0148686376f
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