summaryrefslogtreecommitdiff
path: root/fs/ntfs/bitmap.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-08-26 14:55:00 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:40 -0400
commit546180874ade7225676bc0cd5ea4e2388e2374bc (patch)
tree7e20a1ce5a97ca2b956f38b99ef01862bf55fead /fs/ntfs/bitmap.c
parent534a591e4cf98d036e478b93de4a95ff126fb018 (diff)
bcachefs: Mark write locks before taking lock
six locks are unfair: while a thread is blocked trying to take a write lock, new read locks will fail. The new deadlock cycle detector makes use of our existing lock tracing, so we need to tell it we're holding a write lock before we take the lock for it to work correctly. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/ntfs/bitmap.c')
0 files changed, 0 insertions, 0 deletions