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> >> --- >> drivers/md/raid5.c | 14 ++++++++++++-- >> drivers/md/raid5.h | 1 + >> 2 files changed, 13 insertions(+), 2 deletions(-) >> [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... > Thanks, I'll do it. >Thanks, >NeilBrown > >?韬{.n?????%??檩??w?{.n???{炳盯w???塄}?财??j:+v??????2??璀??摺?囤??z夸z罐?+?????w棹f