]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bcachefs: six locks: write locks can now be held recursively
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 07:33:53 +0000 (02:33 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Fri, 10 Jan 2025 04:38:41 +0000 (23:38 -0500)
commit9a5232ef0a9f9dcc8d1645b361296772b03a3525
tree486dc8fd73cdc3d622ead8a428b18d286b0d2a6b
parent8f3aaa5d5d4e915c2486eafca84840d04b517b72
bcachefs: six locks: write locks can now be held recursively

This is needed for the interior update locking rework, where we'll be
holding node write locks for the duration of the update - which is
needed for synchronizing with online check_allocations.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/six.c
fs/bcachefs/six.h