]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: fix for gc and writeback race
authorNicholas Swenson <nks@daterainc.com>
Wed, 27 Nov 2013 03:14:23 +0000 (19:14 -0800)
committerKent Overstreet <kmo@daterainc.com>
Mon, 16 Dec 2013 22:22:58 +0000 (14:22 -0800)
commit18b06577f4601864cae5f7020e7e6af4dc0ef107
tree5815bc02f4c50db33adc8e35dff617a00f4cf37a
parent5182af4267b575c6f3001dd6729889e7aba0b843
bcache: fix for gc and writeback race

Garbage collector needs to check keys in the writeback keybuf to
make sure it's not invalidating buckets to which the writeback
keys point to.

Signed-off-by: Nicholas Swenson <nks@daterainc.com>
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/btree.c