diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-07-18 04:33:00 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:36 +0300 |
commit | f501ad2b8108a7910adf494fcc5c59bbbfa886e8 (patch) | |
tree | 317f88e49c2158fc3613c303f8a18246598bf530 /fs/sysctls.c | |
parent | c807ca95a6e20bedbbb84287bc7087c2b2b775de (diff) | |
download | linux-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/sysctls.c')
0 files changed, 0 insertions, 0 deletions