diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-10-15 07:34:38 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:41 +0300 |
commit | e4b7254c754b676a6f4d607fd92cd71d221ff130 (patch) | |
tree | fb1316ac3a0b89173514151e27580cd823366c38 /fs/bcachefs/six.h | |
parent | 5b254da5733d9b8c6a13073fecc506c2861aaeb2 (diff) | |
download | linux-e4b7254c754b676a6f4d607fd92cd71d221ff130.tar.xz |
six locks: Fix a lost wakeup
There was a lost wakeup between a read unlock in percpu mode and a write
lock. The unlock path unlocks, then executes a barrier, then checks for
waiters; correspondingly, the lock side should set the wait bit and
execute a barrier, then attempt to take the lock.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/six.h')
0 files changed, 0 insertions, 0 deletions