summaryrefslogtreecommitdiff
path: root/fs/bcachefs/six.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-10-15 07:34:38 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:09:41 +0300
commite4b7254c754b676a6f4d607fd92cd71d221ff130 (patch)
treefb1316ac3a0b89173514151e27580cd823366c38 /fs/bcachefs/six.h
parent5b254da5733d9b8c6a13073fecc506c2861aaeb2 (diff)
downloadlinux-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