Commit 70167a15 authored by Shaohua Li's avatar Shaohua Li Committed by Greg Kroah-Hartman
Browse files

MD: ignore discard request for hard disks of hybid raid1/raid10 array



commit 32f9f570 upstream.

In SSD/hard disk hybid storage, discard request should be ignored for hard
disk. We used to be doing this way, but the unplug path forgets it.

This is suitable for stable tree since v3.6.

Reported-and-tested-by: default avatarMarkus <M4rkusXXL@web.de>
Signed-off-by: default avatarShaohua Li <shli@fusionio.com>
Signed-off-by: default avatarNeilBrown <neilb@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9088a410
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment