Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
raid5: set bio bi_vcnt 0 for discard request
SCSI layer will add new payload for discard request. If two bios are merged to one, the second bio has bi_vcnt 1 which is set in raid5. This will confuse SCSI and cause oops. Suitable for backport to 3.7+ Cc: [email protected] (v3.7+) Reported-by: Jes Sorensen <[email protected]> Signed-off-by: Shaohua Li <[email protected]> Signed-off-by: NeilBrown <[email protected]> Acked-by: Martin K. Petersen <[email protected]>
- Loading branch information