提交 dd9ec84d 编写于 作者: K Kent Overstreet

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: NKent Overstreet <kmo@daterainc.com>
上级 7857d5d4
......@@ -113,7 +113,7 @@ static void write_moving(struct closure *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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册