<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/bcachefs/two_state_shared_lock.c, branch linux-6.15.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.15.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.15.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2023-10-22T21:09:51Z</updated>
<entry>
<title>bcachefs: Inline bch2_two_state_(trylock|unlock)</title>
<updated>2023-10-22T21:09:51Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2022-11-23T17:22:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=19fe87e00b6a601b2ec8251d0231f4c9b3bb5002'/>
<id>urn:sha1:19fe87e00b6a601b2ec8251d0231f4c9b3bb5002</id>
<content type='text'>
Standard inlining of fast paths - these locks are now used by our new
nocow mode.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Factor out two_state_shared_lock</title>
<updated>2023-10-22T21:09:45Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2022-11-04T17:25:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7ecd30c8300624448c4e66cd7a7e7209b96ea61'/>
<id>urn:sha1:a7ecd30c8300624448c4e66cd7a7e7209b96ea61</id>
<content type='text'>
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 &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
</feed>
