<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/bcachefs/disk_groups.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>2025-05-01T16:22:10Z</updated>
<entry>
<title>bcachefs: Fix __bch2_dev_group_set()</title>
<updated>2025-05-01T16:22:10Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2025-05-01T02:37:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e2699274d5a43b95af1b806aa6e3b1157107665d'/>
<id>urn:sha1:e2699274d5a43b95af1b806aa6e3b1157107665d</id>
<content type='text'>
bch2_sb_disk_groups_to_cpu() goes off of the superblock member info, so
we need to set that first.

Reported-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Split up bch_dev.io_ref</title>
<updated>2025-04-02T14:24:34Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2025-03-30T03:11:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dcffc3b1ae3251d796a25c673f614e3099ca83d3'/>
<id>urn:sha1:dcffc3b1ae3251d796a25c673f614e3099ca83d3</id>
<content type='text'>
We now have separate per device io_refs for read and write access.

This fixes a device removal bug where the discard workers were still
running while we're removing alloc info for that device.

It's also a bit of hardening; we no longer allow writes to devices that
are read-only.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Add error code to defer option parsing</title>
<updated>2024-07-14T23:00:12Z</updated>
<author>
<name>Thomas Bertschinger</name>
</author>
<published>2024-05-28T04:36:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c12d1caf8d627d8b791f4dc25af2522dac7cd10'/>
<id>urn:sha1:1c12d1caf8d627d8b791f4dc25af2522dac7cd10</id>
<content type='text'>
This introduces a new error code, option_needs_open_fs, which is used to
indicate that an attempt was made to parse a mount option prior to
opening a filesystem, when that mount option requires an open filesystem
in order to be validated.

Returning this error results in bch2_parse_one_mount_opt() saving that
option for later parsing, after the filesystem is opened.

Signed-off-by: Thomas Bertschinger &lt;tahbertschinger@gmail.com&gt;
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Plumb bch_validate_flags to sb_field_ops.validate()</title>
<updated>2024-05-09T20:23:36Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-05-08T22:49:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a5c3e265d3b61ab661df4f259a97b57840cb041e'/>
<id>urn:sha1:a5c3e265d3b61ab661df4f259a97b57840cb041e</id>
<content type='text'>
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: New helpers for device refcounts</title>
<updated>2024-05-08T21:29:22Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-05-03T21:39:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f295298b8c6413f0ed2a5a69dd7f32409cc54f1d'/>
<id>urn:sha1:f295298b8c6413f0ed2a5a69dd7f32409cc54f1d</id>
<content type='text'>
This will be used in the next patch for adding some new debug mode
asserts.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: member helper cleanups</title>
<updated>2024-05-08T21:29:19Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-04-12T03:31:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f724563fcd76166b9922c506078a4afa4e3a90a'/>
<id>urn:sha1:2f724563fcd76166b9922c506078a4afa4e3a90a</id>
<content type='text'>
Some renaming for better consistency

bch2_member_exists	-&gt; bch2_member_alive
bch2_dev_exists		-&gt; bch2_member_exists
bch2_dev_exsits2	-&gt; bch2_dev_exists
bch_dev_locked		-&gt; bch2_dev_locked
bch_dev_bkey_exists	-&gt; bch2_dev_bkey_exists

new helper - bch2_dev_safe

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: %pg is banished</title>
<updated>2024-01-06T04:24:21Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-01-05T16:58:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1f5af5fc178588ff1f1293b5ddadd4228ce5095e'/>
<id>urn:sha1:1f5af5fc178588ff1f1293b5ddadd4228ce5095e</id>
<content type='text'>
not portable to userspace

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: for_each_member_device_rcu() now declares loop iter</title>
<updated>2024-01-01T16:47:42Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-12-17T07:34:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=41b84fb489f7707af4490d1e5e22d88f3207da71'/>
<id>urn:sha1:41b84fb489f7707af4490d1e5e22d88f3207da71</id>
<content type='text'>
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Fix potential sleeping during mount</title>
<updated>2023-11-15T04:44:43Z</updated>
<author>
<name>Daniel J Blueman</name>
</author>
<published>2023-11-12T00:38:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b783fc4d1366658200bf759e1010655a9e2e145c'/>
<id>urn:sha1:b783fc4d1366658200bf759e1010655a9e2e145c</id>
<content type='text'>
During mount, bcachefs mount option processing may sleep while allocating a string buffer.

Fix this by reference counting in order to take the atomic path.

Signed-off-by: Daniel J Blueman &lt;daniel@quora.org&gt;
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: make bch2_target_to_text_sb static</title>
<updated>2023-11-14T02:42:21Z</updated>
<author>
<name>Jiapeng Chong</name>
</author>
<published>2023-11-06T02:34:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=48d584b7f90f48d2623fb01743b099efbf0d36c2'/>
<id>urn:sha1:48d584b7f90f48d2623fb01743b099efbf0d36c2</id>
<content type='text'>
The bch2_target_to_text_sb are not used outside the file disk_groups.c,
so the modification is defined as static.

fs/bcachefs/disk_groups.c:583:6: warning: no previous prototype for ‘bch2_target_to_text_sb’.

Reported-by: Abaci Robot &lt;abaci@linux.alibaba.com&gt;
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7144
Signed-off-by: Jiapeng Chong &lt;jiapeng.chong@linux.alibaba.com&gt;
Signed-off-by: Kent Overstreet &lt;kent.overstreet@gmail.com&gt;
</content>
</entry>
</feed>
