nvme: Set integrity flag for user passthrough commands
authorKeith Busch <[email protected]>
Tue, 17 Apr 2018 20:42:44 +0000 (14:42 -0600)
committerJens Axboe <[email protected]>
Thu, 3 May 2018 15:37:50 +0000 (09:37 -0600)
commitf31a21103c03bb62846409fdc60cc9faf2398cfb
treec2c9ca3ac0a92f007b315af86fda51b9b3058e81
parent59a2f3f00fd744dbad22593f47552037d3154ca6
nvme: Set integrity flag for user passthrough commands

If the command a separate metadata buffer attached, the request needs
to have the integrity flag set so the driver knows to map it.

Signed-off-by: Keith Busch <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
drivers/nvme/host/core.c