]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: Add missing synchronize_srcu_expedited() call when shutting down
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 8 Jun 2024 21:36:24 +0000 (17:36 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Mon, 10 Jun 2024 17:17:16 +0000 (13:17 -0400)
commitb79922009214e6ab23c07db32a5606a45710f86e
tree9f80a63b165cb4924b0645d1089cbcda54455b85
parent9432e90df1b8a544f220fd455b2fa39eed8a535d
bcachefs: Add missing synchronize_srcu_expedited() call when shutting down

We use the polling interface to srcu for tracking pending frees; when
shutting down we don't need to wait for an srcu barrier to free them,
but SRCU still gets confused if we shutdown with an outstanding grace
period.

Reported-by: syzbot+6a038377f0a594d7d44e@syzkaller.appspotmail.com
Reported-by: syzbot+0ece6edfd05ed20e32d9@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_iter.c