summaryrefslogtreecommitdiff
path: root/fs/bcachefs/movinggc.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-07-18 04:33:00 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:09:36 +0300
commitf501ad2b8108a7910adf494fcc5c59bbbfa886e8 (patch)
tree317f88e49c2158fc3613c303f8a18246598bf530 /fs/bcachefs/movinggc.h
parentc807ca95a6e20bedbbb84287bc7087c2b2b775de (diff)
downloadlinux-f501ad2b8108a7910adf494fcc5c59bbbfa886e8.tar.xz
bcachefs: bch2_mark_alloc(): Do wakeups after updating usage
We have an obvious wake up race if we do the wakeup _before_ updating the counters the thing doing the waiting is reading. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/movinggc.h')
0 files changed, 0 insertions, 0 deletions