<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/fs/bcachefs/disk_groups.c, branch v6.12.80</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v6.12.80</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v6.12.80'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2024-07-14T23:00:12+00:00</updated>
<entry>
<title>bcachefs: Add error code to defer option parsing</title>
<updated>2024-07-14T23:00:12+00:00</updated>
<author>
<name>Thomas Bertschinger</name>
<email>tahbertschinger@gmail.com</email>
</author>
<published>2024-05-28T04:36:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.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:36+00:00</updated>
<author>
<name>Kent Overstreet</name>
<email>kent.overstreet@linux.dev</email>
</author>
<published>2024-05-08T22:49:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.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:22+00:00</updated>
<author>
<name>Kent Overstreet</name>
<email>kent.overstreet@linux.dev</email>
</author>
<published>2024-05-03T21:39:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.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:19+00:00</updated>
<author>
<name>Kent Overstreet</name>
<email>kent.overstreet@linux.dev</email>
</author>
<published>2024-04-12T03:31:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.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:21+00:00</updated>
<author>
<name>Kent Overstreet</name>
<email>kent.overstreet@linux.dev</email>
</author>
<published>2024-01-05T16:58:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.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:42+00:00</updated>
<author>
<name>Kent Overstreet</name>
<email>kent.overstreet@linux.dev</email>
</author>
<published>2023-12-17T07:34:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.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:43+00:00</updated>
<author>
<name>Daniel J Blueman</name>
<email>daniel@quora.org</email>
</author>
<published>2023-11-12T00:38:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.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:21+00:00</updated>
<author>
<name>Jiapeng Chong</name>
<email>jiapeng.chong@linux.alibaba.com</email>
</author>
<published>2023-11-06T02:34:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.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>
<entry>
<title>bcachefs: bch2_disk_path_to_text() no longer takes sb_lock</title>
<updated>2023-10-31T16:18:37+00:00</updated>
<author>
<name>Kent Overstreet</name>
<email>kent.overstreet@linux.dev</email>
</author>
<published>2023-10-22T15:12:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e677179b35b7ecbe3cefe33011b69d45171e5e9f'/>
<id>urn:sha1:e677179b35b7ecbe3cefe33011b69d45171e5e9f</id>
<content type='text'>
We're going to be using bch2_target_to_text() -&gt;
bch2_disk_path_to_text() from bch2_bkey_ptrs_to_text() and
bch2_bkey_ptrs_invalid(), which can be called in any context.

This patch adds the actual label to bch_disk_group_cpu so that it can be
used by bch2_disk_path_to_text, and splits out bch2_disk_path_to_text()
into two variants - like the previous patch, one for when we have a
running filesystem and another for when we only have a superblock.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Split apart bch2_target_to_text(), bch2_target_to_text_sb()</title>
<updated>2023-10-31T16:18:37+00:00</updated>
<author>
<name>Kent Overstreet</name>
<email>kent.overstreet@linux.dev</email>
</author>
<published>2023-10-22T14:54:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=bf0d9e89de2e62fe9967ebb77b68d58d3812e4db'/>
<id>urn:sha1:bf0d9e89de2e62fe9967ebb77b68d58d3812e4db</id>
<content type='text'>
Previously we just had bch2_opt_target_to_text() which could be passed
either a filesystem object or just a superblock - depending on if we
have a running filesystem or not.

Split these into two functions for clarity.

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