summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-06-03 07:42:17 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-15 08:27:47 +0200
commitf7cd8506b35cf5b357c25a6f052de61ff88a724e (patch)
tree10a7c76f69bfb07a6dcf8223c583d9e0d7bef424 /ipc
parent80cce3cde88e274943085c21241f445935cdfaa3 (diff)
block: fix blk_rq_get_max_sectors for driver private requests
[ Upstream commit f21018427cb007a0894c36ad702990ab639cbbb4 ] Driver private request types should not get the artifical cap for the FS requests. This is important to use the full device capabilities for internal command or NVMe pass through commands. Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Jeff Lien <Jeff.Lien@hgst.com> Tested-by: Jeff Lien <Jeff.Lien@hgst.com> Reviewed-by: Keith Busch <keith.busch@intel.com> Updated by me to use an explicit check for the one command type that does support extended checking, instead of relying on the ordering of the enum command values - as suggested by Keith. Signed-off-by: Jens Axboe <axboe@fb.com> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions