summaryrefslogtreecommitdiff
path: root/drivers/nvme/target/loop.c
diff options
context:
space:
mode:
authorIsrael Rukshin <israelr@mellanox.com>2018-01-30 10:07:01 +0000
committerSagi Grimberg <sagi@grimberg.me>2018-02-14 15:38:59 +0200
commit7756f72ccd4359c6df61fc431cd3b5b0a8639837 (patch)
tree98b3c060942721672531a75b56971ad9f695341d /drivers/nvme/target/loop.c
parent4244140d7b8f406b7edfd01c050dea783aa1efc5 (diff)
nvmet: Change return code of discard command if not supported
Execute discard command on block device that doesn't support it should return success. Returning internal error while using multi-path fails the path. Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Israel Rukshin <israelr@mellanox.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Diffstat (limited to 'drivers/nvme/target/loop.c')
0 files changed, 0 insertions, 0 deletions