<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/bcachefs/sysfs.c, branch linux-6.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-05-09T20:24:29Z</updated>
<entry>
<title>bcachefs: add counters for failed shrinker reclaim</title>
<updated>2024-05-09T20:24:29Z</updated>
<author>
<name>Daniel Hill</name>
</author>
<published>2022-09-30T03:37:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bceacfa97ec8b67a76efad2f95899434230b317c'/>
<id>urn:sha1:bceacfa97ec8b67a76efad2f95899434230b317c</id>
<content type='text'>
This adds distinct counters for every reason the btree node shrinker can
fail to free an object - if our shrinker isn't making progress, this
will tell us why.

Signed-off-by: Daniel Hill &lt;daniel@gluo.nz&gt;
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: bch2_print_allocator_stuck()</title>
<updated>2024-05-08T21:29:22Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-05-03T18:49:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e98786ea855cb28176e27ffce23fb163a36ed32e'/>
<id>urn:sha1:e98786ea855cb28176e27ffce23fb163a36ed32e</id>
<content type='text'>
If we block on the allocator for more than 10 seconds, print out some
useful debugging info.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Btree key cache instrumentation</title>
<updated>2024-05-08T21:29:20Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-04-20T18:49:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5147b9ae768758982b196d1b259e6372e328955e'/>
<id>urn:sha1:5147b9ae768758982b196d1b259e6372e328955e</id>
<content type='text'>
It turns out the btree key cache shrinker wasn't actually reclaiming
anything, prior to the previous patch. This adds instrumentation so that
if we have further issues we can see what's going on.

Specifically, sysfs internal/btree_key_cache is greatly expanded with
new counters, and the SRCU sequence numbers of the first 10 entries on
each pending freelist, and we also add trigger_btree_key_cache_shrink
for testing without having to prune all the system caches.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Move gc of bucket.oldest_gen to workqueue</title>
<updated>2024-05-08T21:29:20Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-04-20T02:44:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=103304021e54bfb5cab9ba04cd5ef0dc2bf33888'/>
<id>urn:sha1:103304021e54bfb5cab9ba04cd5ef0dc2bf33888</id>
<content type='text'>
This is a nice cleanup - and we've also been having problems with
kthread creation in the mount path.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: fs_alloc_debug_to_text()</title>
<updated>2024-05-08T21:29:19Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-04-16T04:11:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=427e1bb8381899084fc316cce92dbc7508d9353b'/>
<id>urn:sha1:427e1bb8381899084fc316cce92dbc7508d9353b</id>
<content type='text'>
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: iter/update/trigger/str_hash flag cleanup</title>
<updated>2024-05-08T21:29:18Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-04-07T22:05:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5dd8c60e1e044816d789098ce2454a130e06b03d'/>
<id>urn:sha1:5dd8c60e1e044816d789098ce2454a130e06b03d</id>
<content type='text'>
Combine iter/update/trigger/str_hash flags into a single enum, and
x-macroize them for a to_text() function later.

These flags are all for a specific iter/key/update context, so it makes
sense to group them together - iter/update/trigger flags were already
given distinct bits, this cleans up and unifies that handling.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: bch2_gc() is now private to btree_gc.c</title>
<updated>2024-05-08T21:29:18Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-04-06T04:11:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=68e142405cf4cf01461012ec72d675038c514b92'/>
<id>urn:sha1:68e142405cf4cf01461012ec72d675038c514b92</id>
<content type='text'>
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: prt_printf() now respects \r\n\t</title>
<updated>2024-05-08T21:29:17Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-04-10T20:08:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7423330e30ab916d56ce9a9d49e37e40ead5b153'/>
<id>urn:sha1:7423330e30ab916d56ce9a9d49e37e40ead5b153</id>
<content type='text'>
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: sysfs internal/trigger_journal_flush</title>
<updated>2024-04-15T00:02:11Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-04-14T02:43:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bdae2a7e6020e1cf864a30dab2af323575569dc7'/>
<id>urn:sha1:bdae2a7e6020e1cf864a30dab2af323575569dc7</id>
<content type='text'>
Add a sysfs knob for immediately flushing the entire journal.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Move btree_updates to debugfs</title>
<updated>2024-04-04T20:56:44Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-04-03T23:15:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9fb3036fe3d9414ae32a97d01d7ccf7550e168a7'/>
<id>urn:sha1:9fb3036fe3d9414ae32a97d01d7ccf7550e168a7</id>
<content type='text'>
sysfs is limited to PAGE_SIZE, and when we're debugging strange
deadlocks/priority inversions we need to see the full list.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
</feed>
