bcachefs: ec: Fix a lost wakeup
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 10 Jun 2023 05:37:16 +0000 (01:37 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:04 +0000 (17:10 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/ec.c

index dfc0a61afa511d4f8d27ef9b3c46bd2f6ae14dfe..b7e3889b114b402491f308e9cec12a0e0909bf98 100644 (file)
@@ -1146,6 +1146,7 @@ err:
        mutex_lock(&c->ec_stripe_new_lock);
        list_del(&s->list);
        mutex_unlock(&c->ec_stripe_new_lock);
+       wake_up(&c->ec_stripe_new_wait);
 
        ec_stripe_buf_exit(&s->existing_stripe);
        ec_stripe_buf_exit(&s->new_stripe);