<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/bcachefs/trace.h, 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>2025-03-24T13:50:34Z</updated>
<entry>
<title>bcachefs: trace_io_move_write_fail</title>
<updated>2025-03-24T13:50:34Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2025-03-15T23:24:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fb8a9a32ccd2979b4ec77fde01cc585ff2835e55'/>
<id>urn:sha1:fb8a9a32ccd2979b4ec77fde01cc585ff2835e55</id>
<content type='text'>
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: trace_stripe_create</title>
<updated>2025-03-15T01:02:16Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2025-03-07T19:30:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=434a3f2ffaa1519a562909a92c62b77cf29f05da'/>
<id>urn:sha1:434a3f2ffaa1519a562909a92c62b77cf29f05da</id>
<content type='text'>
Add a simple tracepoint for stripe creation, we'll want to expand this
later.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Read/move path counter work</title>
<updated>2025-03-15T01:02:12Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2025-02-04T01:15:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=157ea5834133c02cb93e06e6a014cfc0b3b109e5'/>
<id>urn:sha1:157ea5834133c02cb93e06e6a014cfc0b3b109e5</id>
<content type='text'>
Reorganize counters a bit, grouping related counters together.

New counters:
- io_read_inline
- io_read_hole

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: bch2_move_data_phys()</title>
<updated>2025-03-15T01:02:12Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-12-28T15:40:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=987fdbdb40293557e59bc27c4bc89ecd715b8019'/>
<id>urn:sha1:987fdbdb40293557e59bc27c4bc89ecd715b8019</id>
<content type='text'>
Add a more general version of bch2_evacuate_bucket - to be used for
scrub.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Fix discard path journal flushing</title>
<updated>2025-02-07T03:35:11Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2025-01-27T06:21:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9e9033522ad1e4bb697c9493aa449630fa2c98d2'/>
<id>urn:sha1:9e9033522ad1e4bb697c9493aa449630fa2c98d2</id>
<content type='text'>
The discard path is supposed to issue journal flushes when there's too
many buckets empty buckets that need a journal commit before they can be
written to again, but at some point this code seems to have been lost.

Bring it back with a new optimization to make sure we don't issue too
many journal flushes: the journal now tracks the sequence number of the
most recent flush in progress, which the discard path uses when deciding
which buckets need a journal flush.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Fix trace_copygc</title>
<updated>2025-01-27T04:02:28Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2025-01-17T17:51:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0e458a616f680837d0ba9c3c8ba9f66993db4225'/>
<id>urn:sha1:0e458a616f680837d0ba9c3c8ba9f66993db4225</id>
<content type='text'>
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: trace_key_cache_fill</title>
<updated>2024-12-29T18:30:39Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-12-13T10:43:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=07c1a6fa901dc478a2685614399dedece910d6f5'/>
<id>urn:sha1:07c1a6fa901dc478a2685614399dedece910d6f5</id>
<content type='text'>
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: trace_write_buffer_maybe_flush</title>
<updated>2024-12-21T06:36:23Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-12-10T15:29:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f57171d8ddd792a0367e05395a6266e5fc011e0'/>
<id>urn:sha1:3f57171d8ddd792a0367e05395a6266e5fc011e0</id>
<content type='text'>
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: trace_accounting_mem_insert</title>
<updated>2024-12-21T06:36:21Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-12-04T22:44:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=400af9a398186851103e27d848ef42be8870072b'/>
<id>urn:sha1:400af9a398186851103e27d848ef42be8870072b</id>
<content type='text'>
Add a tracepoint for inserting new accounting entries: we're seeing odd
spinning behaviour in accounting read.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Fix evacuate_bucket tracepoint</title>
<updated>2024-12-21T06:36:18Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-12-09T11:18:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4de2c24aa9453564ceb285039e2816bd22fa4ac6'/>
<id>urn:sha1:4de2c24aa9453564ceb285039e2816bd22fa4ac6</id>
<content type='text'>
86a494c8eef9 ("bcachefs: Kill bch2_get_next_backpointer()") dropped some
things the tracepoint emitted because bch2_evacuate_bucket() no longer
looks at the alloc key - but we did want at least some of that.

We still no longer look at the alloc key so we can't report on the
fragmentation number, but that's a direct function of dirty_sectors and
a copygc concern anyways - copygc should get its own tracepoint that
includes information from the fragmentation LRU.

But we can report on the number of sectors we moved and the bucket size.

Co-developed-by: Piotr Zalewski &lt;pZ010001011111@proton.me&gt;
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
</feed>
