https://github.com/torvalds/linux
Revision 37c61ff31e9b5e3fcf3cc6579f5c68f6ad40c4b1 authored by Shaohua Li on 19 October 2013, 06:50:28 UTC, committed by NeilBrown on 24 October 2013, 01:57:36 UTC
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: stable@vger.kernel.org (v3.7+)
Reported-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Shaohua Li <shli@fusionio.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 905b029
History
Tip revision: 37c61ff31e9b5e3fcf3cc6579f5c68f6ad40c4b1 authored by Shaohua Li on 19 October 2013, 06:50:28 UTC
raid5: set bio bi_vcnt 0 for discard request
Tip revision: 37c61ff
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.0 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 257.8 KB
Makefile -rw-r--r-- 47.4 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top