Re: [PATCH V3 4/4] md/raid10: Improve discard request for far layout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 13, 2020 at 1:15 AM Xiao Ni <xni@xxxxxxxxxx> wrote:
>
> For far layout, the discard region is not continuous on disks. So it needs
> far copies r10bio to cover all regions. It needs a way to know all r10bios
> have finish or not. Similar with raid10_sync_request, only the first r10bio
> master_bio records the discard bio. Other r10bios master_bio record the first
> r10bio. The first r10bio can finish after other r10bios finish and then return
> the discard bio.
>
> Signed-off-by: Xiao Ni <xni@xxxxxxxxxx>

1/4 and 2/4 of the set looks good to me. But we will need more work on 3
and 4. Please refer to comments in 3/4.

Please also rebase on top of the latest md-next branch, and try fix warnings
from checkpatch.pl.

Thanks,
Song



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux