https://github.com/torvalds/linux
Revision e5db29806b99ce2b2640d2e4d4fcb983cea115c5 authored by Darrick J. Wong on 27 February 2015, 18:44:38 UTC, committed by Mike Snitzer on 27 February 2015, 19:53:32 UTC
Since it's possible for the discard and write same queue limits to
change while the upper level command is being sliced and diced, fix up
both of them (a) to reject IO if the special command is unsupported at
the start of the function and (b) read the limits once and let the
commands error out on their own if the status happens to change.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@vger.kernel.org
1 parent 09ee96b
History
Tip revision: e5db29806b99ce2b2640d2e4d4fcb983cea115c5 authored by Darrick J. Wong on 27 February 2015, 18:44:38 UTC
dm io: deal with wandering queue limits when handling REQ_DISCARD and REQ_WRITE_SAME
Tip revision: e5db298
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.2 KB
.mailmap -rw-r--r-- 4.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 94.0 KB
Kbuild -rw-r--r-- 2.1 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 298.0 KB
Makefile -rw-r--r-- 53.3 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top