aboutsummaryrefslogtreecommitdiffstats
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2015-02-27 18:44:38 +0000
committerMike Snitzer <[email protected]>2015-02-27 19:53:32 +0000
commite5db29806b99ce2b2640d2e4d4fcb983cea115c5 (patch)
treef47c949fa4386f30b9b66e5f7d9acc42c9125b44 /lib/memory-notifier-error-inject.c
parentdm snapshot: suspend merging snapshot when doing exception handover (diff)
downloadkernel-e5db29806b99ce2b2640d2e4d4fcb983cea115c5.tar.gz
kernel-e5db29806b99ce2b2640d2e4d4fcb983cea115c5.zip
dm io: deal with wandering queue limits when handling REQ_DISCARD and REQ_WRITE_SAME
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 <[email protected]> Signed-off-by: Mikulas Patocka <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> Cc: [email protected]
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions