Kent Overstreet
a7ecd30c83
bcachefs: Factor out two_state_shared_lock
...
We have a unique lock used for controlling adding to the pagecache: the
lock has two states, where both states are shared - the lock may be held
multiple times for either state - but not both states at the same time.
This is exactly what we need for nocow mode locking, so this patch pulls
it out of fs.c into its own file.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-10-22 17:09:45 -04:00
..
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:12 -04:00
2023-10-22 17:09:39 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:42 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:19 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:31 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:43 -04:00
2023-10-22 17:09:30 -04:00
2023-10-22 17:09:22 -04:00
2023-10-22 17:09:22 -04:00
2023-10-22 17:09:22 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:30 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:08:52 -04:00
2023-10-22 17:09:33 -04:00
2023-10-22 17:08:43 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:40 -04:00
2023-10-22 17:09:32 -04:00
2023-10-22 17:09:28 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:42 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:01 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:40 -04:00
2023-10-22 17:09:39 -04:00
2023-10-22 17:09:18 -04:00
2023-10-22 17:09:42 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:43 -04:00
2023-10-22 17:09:42 -04:00
2023-10-22 17:09:41 -04:00
2023-10-22 17:09:29 -04:00
2023-10-22 17:09:10 -04:00
2023-10-22 17:08:29 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:21 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:15 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:32 -04:00
2023-10-22 17:09:43 -04:00
2023-10-22 17:08:07 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:08:59 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:43 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:02 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:29 -04:00
2023-10-22 17:09:37 -04:00
2023-10-22 17:09:21 -04:00
2023-10-22 17:09:29 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:43 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:36 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:43 -04:00
2023-10-22 17:09:43 -04:00
2023-10-22 17:09:43 -04:00
2023-10-22 17:09:37 -04:00
2023-10-22 17:09:10 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:35 -04:00
2023-10-22 17:09:39 -04:00
2023-10-22 17:09:36 -04:00
2023-10-22 17:09:34 -04:00
2023-10-22 17:09:37 -04:00
2023-10-22 17:09:33 -04:00
2023-10-22 17:09:33 -04:00
2023-10-22 17:08:13 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:10 -04:00
2023-10-22 17:09:36 -04:00
2023-10-22 17:08:43 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:33 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:40 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:41 -04:00
2023-10-22 17:09:41 -04:00
2023-10-22 17:09:40 -04:00
2023-10-22 17:09:28 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:29 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:29 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:34 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:32 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:08:48 -04:00
2023-10-22 17:09:38 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:45 -04:00
2023-10-22 17:09:44 -04:00
2023-10-22 17:09:43 -04:00
2023-10-22 17:09:13 -04:00
2023-10-22 17:09:08 -04:00
2023-10-22 17:09:25 -04:00
2023-10-22 17:09:40 -04:00
2023-10-22 17:09:45 -04:00