<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/bcachefs/replicas.c, branch linux-6.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2024-02-16T18:14:30Z</updated>
<entry>
<title>bcachefs: Don't pass memcmp() as a pointer</title>
<updated>2024-02-16T18:14:30Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2024-01-15T19:12:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f114cfc8083a50f457c94eea43de4e56bab98cb0'/>
<id>urn:sha1:f114cfc8083a50f457c94eea43de4e56bab98cb0</id>
<content type='text'>
commit 0124f42da70c513dc371b73688663c54e5a9666f upstream.

Some (buggy!) compilers have issues with this.

Fixes: https://github.com/koverstreet/bcachefs/issues/625
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bcachefs: Add missing validation for jset_entry_data_usage</title>
<updated>2023-11-28T22:18:24Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-11-26T02:42:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5bd37872a93e07ef3f9cbd4e2044ba4e17b5021'/>
<id>urn:sha1:d5bd37872a93e07ef3f9cbd4e2044ba4e17b5021</id>
<content type='text'>
Validation was completely missing for replicas entries in the journal
(not the superblock replicas section) - we can't have replicas entries
pointing to invalid devices.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Fix error path in bch2_replicas_gc_end()</title>
<updated>2023-11-02T01:11:08Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-10-27T03:02:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=85103d15ca3fe3b987f912873cb4f91b6f557c6c'/>
<id>urn:sha1:85103d15ca3fe3b987f912873cb4f91b6f557c6c</id>
<content type='text'>
We were dropping a lock we hadn't taken when entering with an error.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: bch2_sb_field_get() refactoring</title>
<updated>2023-10-22T21:10:16Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-09-26T21:49:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4637429e3946d083eedde1668c17a4fadaf3c0b1'/>
<id>urn:sha1:4637429e3946d083eedde1668c17a4fadaf3c0b1</id>
<content type='text'>
Instead of using token pasting to generate methods for each superblock
section, just make the type a parameter to bch2_sb_field_get().

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Add new helper to retrieve bch_member from sb</title>
<updated>2023-10-22T21:10:15Z</updated>
<author>
<name>Hunter Shaffer</name>
</author>
<published>2023-09-25T03:55:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1241df5872b439ff1e5a8c70e0ce82345264904f'/>
<id>urn:sha1:1241df5872b439ff1e5a8c70e0ce82345264904f</id>
<content type='text'>
Prep work for introducing bch_sb_field_members_v2 - introduce new
helpers that will check for members_v2 if it exists, otherwise using v1

Signed-off-by: Hunter Shaffer &lt;huntershaffer182456@gmail.com&gt;
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Convert more code to bch_err_msg()</title>
<updated>2023-10-22T21:10:12Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-09-11T05:37:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e46c181af9e230c4c5dbc701fdadc295d6191eec'/>
<id>urn:sha1:e46c181af9e230c4c5dbc701fdadc295d6191eec</id>
<content type='text'>
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Fix error path in bch2_journal_flush_device_pins()</title>
<updated>2023-10-22T21:10:06Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-07-09T02:21:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9a644843c4701f86594fe0386f00af6b847f747d'/>
<id>urn:sha1:9a644843c4701f86594fe0386f00af6b847f747d</id>
<content type='text'>
We need to always call bch2_replicas_gc_end() after we've called
bch2_replicas_gc_start(), else we leave state around that needs to be
cleaned up.

Partial fix for: https://github.com/koverstreet/bcachefs/issues/560

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Assorted sparse fixes</title>
<updated>2023-10-22T21:10:06Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-07-07T02:47:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=73bd774d28d2b2e6a05c31bf7afb9247e02a8e49'/>
<id>urn:sha1:73bd774d28d2b2e6a05c31bf7afb9247e02a8e49</id>
<content type='text'>
 - endianness fixes
 - mark some things static
 - fix a few __percpu annotations
 - fix silent enum conversions

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Delete some dead code in bch2_replicas_gc_end()</title>
<updated>2023-10-22T21:10:01Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-05-08T18:23:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=92e637cef4fc9380363b425de740827d7c492219'/>
<id>urn:sha1:92e637cef4fc9380363b425de740827d7c492219</id>
<content type='text'>
bch2_replicas_gc_(start|end) is now only used for journal replicas
entries, which don't have bucket sector counts - so this code is
entirely dead and can be deleted.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Improved comment for bch2_replicas_gc2()</title>
<updated>2023-10-22T21:10:01Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-05-02T22:22:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=38e3d93fa1da7e3f0bc61b240a65cee7fb024400'/>
<id>urn:sha1:38e3d93fa1da7e3f0bc61b240a65cee7fb024400</id>
<content type='text'>
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
</feed>
