bcache: Fix a lockdep splat

bch_keybuf_del() takes a spinlock that can't be taken in interrupt context -
whoops. Fortunately, this code isn't enabled by default (you have to toggle a
sysfs thing).

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
This commit is contained in:
Kent Overstreet 2013-10-24 17:12:52 -07:00
parent 7857d5d470
commit dd9ec84da5
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ static void write_moving(struct closure *cl)
bch_insert_data(&s->op.cl); bch_insert_data(&s->op.cl);
} }
continue_at(cl, write_moving_finish, NULL); continue_at(cl, write_moving_finish, bch_gc_wq);
} }
static void read_moving_submit(struct closure *cl) static void read_moving_submit(struct closure *cl)