On Wed, 23 Oct 2013 04:07:19 -0400 "Martin K. Petersen" <martin.petersen@xxxxxxxxxx> wrote: > >>>>> "Shaohua" == Shaohua Li <shli@xxxxxxxxxx> writes: > > Shaohua> SCSI layer will add new payload for discard request. If two > Shaohua> bios are merged to one, the second bio has bi_vcnt 1 which is > Shaohua> set in raid5. This will confuse SCSI and cause oops. > > A discard bio does not have a payload prior to the SCSI command being > prepared so vcnt should indeed be 0. > > Acked-by: Martin K. Petersen <martin.petersen@xxxxxxxxxx> > Thanks Martin. I'll be sending this to Linus shortly. NeilBrown
Attachment:
signature.asc
Description: PGP signature