Re: Re: [RFC PATCH V1] raid5: Add R5_ReadNoMerge flag which prevent bio from merging at block layer

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


On 2012-07-16 13:48 NeilBrown <neilb@xxxxxxx> Wrote:
>On Fri, 13 Jul 2012 19:13:35 +0800 majianpeng <majianpeng@xxxxxxxxx> wrote:
>
>> Because bios will merge at block-layer,so bios-error may caused by other
>> bio which be merged into to the same request.
>> Using this flag,it will find exactly error-sector and not do redundant
>> operation like re-write and re-read.
>> 
>> V0->V1:Using REQ_FLUSH instead REQ_NOMERGE avoid bio merging at block
>> layer.
>> 
>> Signed-off-by: Jianpeng Ma <majianpeng@xxxxxxxxx>

[snip]
>
>
>Thanks, I've applied this.
>
>We should probably do a similar thing in fix_read_error and
>fix_sync_read_error in RAID1 and RAID10...
>
I reviewed the code about fix_read_error/fix_sync_read_error.
It already do the similar thing.
>Thanks,
>NeilBrown
>
>?韬{.n?????%??檩??w?{.n???{炳盯w???塄}?财??j:+v??????2??璀??摺?囤??z夸z罐?+?????w棹f



[ATA RAID]     [Linux SCSI Target Infrastructure]     [Managing RAID on Linux]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device-Mapper]     [Kernel]     [Linux Books]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Photos]     [Yosemite Photos]     [Yosemite News]     [AMD 64]     [Linux Networking]

Add to Google Powered by Linux