]> 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)
commitec0eeaa09c25fb04f2278d68f1ca771247c0ed54
tree5815bc02f4c50db33adc8e35dff617a00f4cf37a
parent10f9bcfc70526f5e3d2c4c541733ec2575eb4a4e
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