bcachefs: Move stripe creation to workqueue
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 7 Jul 2020 00:59:46 +0000 (20:59 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:42 +0000 (17:08 -0400)
commit703e2a43bf30c1d5610fa7d1a823911d96487dac
treeb04c6086ec71bdc5f624b0d8aa9b2c7e8993b329
parentba6dd1dd493f4e621350fa963e3a95686aaf8a4d
bcachefs: Move stripe creation to workqueue

This is mainly to solve a lock ordering issue, and also simplifies the
code a bit.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/alloc_foreground.c
fs/bcachefs/bcachefs.h
fs/bcachefs/ec.c
fs/bcachefs/ec.h
fs/bcachefs/super.c
fs/bcachefs/sysfs.c