linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] btrfs: fixes for reclaim
@ 2023-06-06  5:36 Naohiro Aota
  2023-06-06  5:36 ` [PATCH 1/4] btrfs: delete unused BGs while reclaiming BGs Naohiro Aota
                   ` (4 more replies)
  0 siblings, 5 replies; 18+ messages in thread
From: Naohiro Aota @ 2023-06-06  5:36 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Naohiro Aota

There are several issues on the reclaim process out there:

 - Long-running reclaim process blocks removing unused BGs
 - Belonging to the reclaim list blocks it goes to the unused list
 - It tries relocation even when FS is read-only
 - Temporal failure keep a block group un-reclaimed

This series fixes them.

Naohiro Aota (4):
  btrfs: delete unused BGs while reclaiming BGs
  btrfs: move out now unused BG from the reclaim list
  btrfs: bail out reclaim process if filesystem is read-only
  btrfs: reinsert BGs failed to reclaim

 fs/btrfs/block-group.c | 43 ++++++++++++++++++++++++++++++++++++++----
 1 file changed, 39 insertions(+), 4 deletions(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2023-06-12 12:50 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-06  5:36 [PATCH 0/4] btrfs: fixes for reclaim Naohiro Aota
2023-06-06  5:36 ` [PATCH 1/4] btrfs: delete unused BGs while reclaiming BGs Naohiro Aota
2023-06-06  9:54   ` Filipe Manana
2023-06-06 11:32   ` Johannes Thumshirn
2023-06-07 18:48   ` Boris Burkov
2023-06-12 12:50     ` Naohiro Aota
2023-06-06  5:36 ` [PATCH 2/4] btrfs: move out now unused BG from the reclaim list Naohiro Aota
2023-06-06 10:06   ` Filipe Manana
2023-06-06 11:33   ` Johannes Thumshirn
2023-06-06  5:36 ` [PATCH 3/4] btrfs: bail out reclaim process if filesystem is read-only Naohiro Aota
2023-06-06 10:16   ` Filipe Manana
2023-06-06 11:34   ` Johannes Thumshirn
2023-06-06  5:36 ` [PATCH 4/4] btrfs: reinsert BGs failed to reclaim Naohiro Aota
2023-06-06 10:25   ` Filipe Manana
2023-06-06 16:23     ` David Sterba
2023-06-06 23:55       ` Naohiro Aota
2023-06-08 11:48         ` David Sterba
2023-06-08 11:50 ` [PATCH 0/4] btrfs: fixes for reclaim David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).