<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/bcachefs/alloc_foreground.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-04-21T23:36:45Z</updated>
<entry>
<title>bcachefs: Allocator now copes with unaligned buckets</title>
<updated>2025-04-21T23:36:45Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2025-04-21T22:37:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4ede80a9a860968f9e63c6b9262683d3139194e0'/>
<id>urn:sha1:4ede80a9a860968f9e63c6b9262683d3139194e0</id>
<content type='text'>
We had a buggy release of bcachefs-tools that wasn't properly aligning
bucket sizes.

We can't ask users to reformat - and it's easy to teach the allocator to
make sure writes are properly aligned.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: EIO cleanup</title>
<updated>2025-03-24T13:50:36Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2025-03-20T14:16:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8a9f3d058279ed0f99114e0449d129fb5abc5eca'/>
<id>urn:sha1:8a9f3d058279ed0f99114e0449d129fb5abc5eca</id>
<content type='text'>
Replace these with proper private error codes, so that when we get an
error message we're not sifting through the entire codebase to see where
it came from.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Bail out early on alloc_nowait data updates</title>
<updated>2025-03-15T01:02:11Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2025-01-19T18:55:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e9ed60f5fe58dd4b4b6dcf63e57154c6262a2af'/>
<id>urn:sha1:7e9ed60f5fe58dd4b4b6dcf63e57154c6262a2af</id>
<content type='text'>
If a data update doesn't want to block on allocations (promotes, self
healing on read error) - check if the allocation would fail before
kicking off the data update and calling into the write path.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: dev_alloc_list.devs -&gt; dev_alloc_list.data</title>
<updated>2024-12-21T06:36:22Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-12-05T00:21:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=47d6ee766f8033563aff333f326378cd4b36a170'/>
<id>urn:sha1:47d6ee766f8033563aff333f326378cd4b36a170</id>
<content type='text'>
This lets us use darray macros on dev_alloc_list (and it will become a
darray eventually, when we increase the maximum number of devices).

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Kill bch2_bucket_alloc_new_fs()</title>
<updated>2024-12-21T06:36:19Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-11-25T04:28:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=828552ca74a45877dbf139b34c47d0f600a1e852'/>
<id>urn:sha1:828552ca74a45877dbf139b34c47d0f600a1e852</id>
<content type='text'>
The early-early allocation path, bch2_bucket_alloc_new_fs(), is no
longer needed - and inconsistencies around new_fs_bucket_idx have been a
frequent source of bugs.

Reported-by: syzbot+592425844580a6598410@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: fix prototype to bch2_alloc_sectors_start_trans()</title>
<updated>2024-09-21T15:35:20Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-09-01T21:06:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2e95497e81010a0f409a7c0ab39404ef591371e9'/>
<id>urn:sha1:2e95497e81010a0f409a7c0ab39404ef591371e9</id>
<content type='text'>
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Make allocator stuck timeout configurable, ratelimit messages</title>
<updated>2024-08-08T01:04:55Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-08-07T17:58:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cecf72798b25fcb00303392407fccf500a746747'/>
<id>urn:sha1:cecf72798b25fcb00303392407fccf500a746747</id>
<content type='text'>
Limit these messages to once every 2 minutes to avoid spamming logs;
with multiple devices the output can be quite significant.

Also, up the default timeout to 30 seconds from 10 seconds.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Improved allocator debugging for ec</title>
<updated>2024-08-07T12:31:10Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-08-07T01:02:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c1e4446247b2a8919649fb9aae2d86f53bf3d1e3'/>
<id>urn:sha1:c1e4446247b2a8919649fb9aae2d86f53bf3d1e3</id>
<content type='text'>
chasing down a device removal deadlock with erasure coding

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: bch2_btree_reserve_cache_to_text()</title>
<updated>2024-07-14T23:00:11Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-07-11T20:30:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cdda2126ab0dfeafc52c725f808baed7ea26d0b5'/>
<id>urn:sha1:cdda2126ab0dfeafc52c725f808baed7ea26d0b5</id>
<content type='text'>
Add a pretty printer so the btree reserve cache can be seen in sysfs; as
it pins open_buckets we need it for tracking down open_buckets issues.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: ob_dev()</title>
<updated>2024-05-08T21:29:23Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-05-01T00:38:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8783856ab15e9ad6faea8df3b72658f4cd2325c3'/>
<id>urn:sha1:8783856ab15e9ad6faea8df3b72658f4cd2325c3</id>
<content type='text'>
Wrapper around bch2_dev_have_ref() for open_buckets; we do guarantee
that the device an open_bucket points to exists.

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