aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorShaohua Li <[email protected]>2013-10-19 14:50:28 +0800
committerNeilBrown <[email protected]>2013-10-24 12:57:36 +1100
commit37c61ff31e9b5e3fcf3cc6579f5c68f6ad40c4b1 (patch)
tree531c906f33e284c2916213fb994b632b03ab885a /lib/memory-notifier-error-inject.c
parent905b0297a9533d7a6ee00a01a990456636877dd6 (diff)
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]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions