<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/bcachefs/move.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: rebalance should wakeup on shutdown if disabled</title>
<updated>2024-02-16T18:14:30Z</updated>
<author>
<name>Daniel Hill</name>
</author>
<published>2023-11-26T06:33:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6763051bea3a316c2043a3b66246010391def00a'/>
<id>urn:sha1:6763051bea3a316c2043a3b66246010391def00a</id>
<content type='text'>
commit 0c069781ddfa4e31c169a8eced1ee90b8929d522 upstream.

Signed-off-by: Daniel Hill &lt;daniel@gluo.nz&gt;
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: Extra kthread_should_stop() calls for copygc</title>
<updated>2023-11-29T03:58:23Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-11-28T21:33:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=415e5107b0dce0e5407ae4a46700cd7e8859e252'/>
<id>urn:sha1:415e5107b0dce0e5407ae4a46700cd7e8859e252</id>
<content type='text'>
This fixes a bug where going read-only was taking longer than it should
have due to copygc forgetting to check kthread_should_stop()

Additionally: fix a missing is_kthread check in bch2_move_ratelimit().

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: -EROFS doesn't count as move_extent_start_fail</title>
<updated>2023-11-29T03:58:22Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-11-27T04:11:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1b1bd0fd41577400434d5948edc2679092c57b08'/>
<id>urn:sha1:1b1bd0fd41577400434d5948edc2679092c57b08</id>
<content type='text'>
The automated tests check if we've hit too many slowpath/error path
events and fail the test - if we're just shutting down, that naturally
shouldn't count.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: trace_move_extent_start_fail() now includes errcode</title>
<updated>2023-11-28T22:18:24Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-11-27T02:13:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae4d612cc1f23a6137d0978b1620a2af2e201c1a'/>
<id>urn:sha1:ae4d612cc1f23a6137d0978b1620a2af2e201c1a</id>
<content type='text'>
Renamed from trace_move_extent_alloc_mem_fail, because there are other
reasons we colud fail (disk space allocation failure).

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Data update path won't accidentaly grow replicas</title>
<updated>2023-11-26T02:48:42Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-11-25T02:51:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d9f8468ff7589073981b3eb8b175945c7dcd13c'/>
<id>urn:sha1:7d9f8468ff7589073981b3eb8b175945c7dcd13c</id>
<content type='text'>
Previously, there was a bug where if an extent had greater durability
than required (because we needed to move a durability=1 pointer and
ended up putting it on a durability 2 device), we would submit a write
for replicas=2 - the durability of the pointer being rewritten - instead
of the number of replicas required to bring it back up to the
data_replicas option.

This, plus the allocation path sometimes allocating on a greater
durability device than requested, meant that extents could continue
having more and more replicas added as they were being rewritten.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Make sure bch2_move_ratelimit() also waits for move_ops</title>
<updated>2023-11-24T07:10:28Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-11-23T04:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=261af2f1c6b668586325a37df02f904c1c273a7d'/>
<id>urn:sha1:261af2f1c6b668586325a37df02f904c1c273a7d</id>
<content type='text'>
This adds move_ctxt_wait_event_timeout(), which can sleep for a timeout
while also issueing pending moves as reads complete.

Co-developed-by: Daniel Hill &lt;daniel@gluo.nz&gt;
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: bch2_moving_ctxt_flush_all()</title>
<updated>2023-11-24T07:08:25Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-11-20T22:24:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=50e029c6390a6795869b742a5fce1e57d6a76c82'/>
<id>urn:sha1:50e029c6390a6795869b742a5fce1e57d6a76c82</id>
<content type='text'>
Introduce a new helper to flush all move IOs, and use it in a few places
where we should have been.

The new helper also drops btree locks before waiting on outstanding move
writes, avoiding potential deadlocks.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: Data move path now uses bch2_trans_unlock_long()</title>
<updated>2023-11-05T02:19:11Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-10-30T19:13:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f82755e4e8b83a4a98ebd6d819d716547fe11919'/>
<id>urn:sha1:f82755e4e8b83a4a98ebd6d819d716547fe11919</id>
<content type='text'>
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: move: move_stats refactoring</title>
<updated>2023-10-31T16:18:38Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-10-23T20:21:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=96a363a7e68832054f2a93249335fd3efd870aa3'/>
<id>urn:sha1:96a363a7e68832054f2a93249335fd3efd870aa3</id>
<content type='text'>
data_progress_list is gone - it was redundant with moving_context_list

The upcoming rebalance rewrite is going to have it using two different
move_stats objects with the same moving_context, depending on whether
it's scanning or using the rebalance_work btree - this patch plumbs
stats around a bit differently so that will work.

Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
<entry>
<title>bcachefs: move: convert to bbpos</title>
<updated>2023-10-31T16:18:37Z</updated>
<author>
<name>Kent Overstreet</name>
</author>
<published>2023-10-23T19:36:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d5eade93452bd1a892e2155e9bb723f04992bdac'/>
<id>urn:sha1:d5eade93452bd1a892e2155e9bb723f04992bdac</id>
<content type='text'>
Signed-off-by: Kent Overstreet &lt;kent.overstreet@linux.dev&gt;
</content>
</entry>
</feed>
