aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorKent Overstreet <kmo@daterainc.com>2013-10-24 17:12:52 -0700
committerKent Overstreet <kmo@daterainc.com>2013-11-10 21:55:54 -0800
commitdd9ec84da530d3a92e99ad1f52edae44533cc27f (patch)
tree43c12f26c5b2a03fd553803d808d9553f4636de8 /drivers/md
parentbcache: Fix a journalling performance bug (diff)
downloadlinux-dev-dd9ec84da530d3a92e99ad1f52edae44533cc27f.tar.xz
linux-dev-dd9ec84da530d3a92e99ad1f52edae44533cc27f.zip
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>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/bcache/movinggc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/movinggc.c b/drivers/md/bcache/movinggc.c
index 1a3b4f4786c3..dd8a035c5ae1 100644
--- a/drivers/md/bcache/movinggc.c
+++ b/drivers/md/bcache/movinggc.c
@@ -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)