All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] btrfs: raid56: part 1, refactor/cleanup
@ 2022-10-10 10:36 Qu Wenruo
  2022-10-10 10:36 ` [PATCH 1/5] btrfs: raid56: properly handle the error when unable to find the missing stripe Qu Wenruo
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Qu Wenruo @ 2022-10-10 10:36 UTC (permalink / raw)
  To: linux-btrfs

This is the cleanup/refactor part for the incoming RAID56 feature, which
will do data checksum verification during RMW cycle to address
destructive RMW.

The important parts of the cleanup are:

- Make pointer members of btrfs_raid_bio to be allocated separately
  This will make later expanding (csum_buf and csum_bitmap) easier.

- Make it explicit that all cached rbio should have all its data sectors
  uptodate
  This means, if we steal one rbio, all the data sectors should be
  uptodate.

Qu Wenruo (5):
  btrfs: raid56: properly handle the error when unable to find the
    missing stripe
  btrfs: raid56: avoid double freeing for rbio if full_stripe_write()
    failed
  btrfs: raid56: cleanup for function __free_raid_bio()
  btrfs: raid56: allocate memory separately for rbio pointers
  btrfs: raid56: make it more explicit that cache rbio should have all
    its data sectors uptodate

 fs/btrfs/raid56.c | 189 +++++++++++++++++++++++++++-------------------
 1 file changed, 113 insertions(+), 76 deletions(-)

-- 
2.37.3


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

end of thread, other threads:[~2022-10-10 17:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-10 10:36 [PATCH 0/5] btrfs: raid56: part 1, refactor/cleanup Qu Wenruo
2022-10-10 10:36 ` [PATCH 1/5] btrfs: raid56: properly handle the error when unable to find the missing stripe Qu Wenruo
2022-10-10 10:36 ` [PATCH 2/5] btrfs: raid56: avoid double freeing for rbio if full_stripe_write() failed Qu Wenruo
2022-10-10 10:36 ` [PATCH 3/5] btrfs: raid56: cleanup for function __free_raid_bio() Qu Wenruo
2022-10-10 10:36 ` [PATCH 4/5] btrfs: raid56: allocate memory separately for rbio pointers Qu Wenruo
2022-10-10 10:36 ` [PATCH 5/5] btrfs: raid56: make it more explicit that cache rbio should have all its data sectors uptodate Qu Wenruo
2022-10-10 17:35 ` [PATCH 0/5] btrfs: raid56: part 1, refactor/cleanup David Sterba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.