diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-02-05 22:09:30 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:50 +0300 |
commit | 91db80668149a4eb19ab3bfcfecf9f09ad1f2c8f (patch) | |
tree | f2b5a01370f89f0a81df482e07bef2b4b5e37e0a /fs/bcachefs/reflink.c | |
parent | 94c69fafa7081d84be89ba1067558be39b4ea44b (diff) | |
download | linux-91db80668149a4eb19ab3bfcfecf9f09ad1f2c8f.tar.xz |
six locks: Improved optimistic spinning
This adds a threshold for the maximum spin time, similar to the rwsem
code, and a flag to the lock itself indicating when we've spun too long
so other threads also refrain from spinning.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/reflink.c')
0 files changed, 0 insertions, 0 deletions