linux_old1/drivers/nvme/target
Christoph Hellwig 005c674f70 nvmet: ignore EOPNOTSUPP for discard
NVMe DSM is a pure hint, so if the underlying device / file system
does not support discard-like operations we should not fail the
operation but rather return success.

Fixes: 3b031d1599 ("nvmet: add error log support for bdev backend")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Tested-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-03-13 12:57:34 -06:00
..
Kconfig nvmet-tcp: add NVMe over TCP target driver 2018-12-13 09:58:57 +01:00
Makefile nvmet-tcp: add NVMe over TCP target driver 2018-12-13 09:58:57 +01:00
admin-cmd.c nvmet: convert to SPDX identifiers 2019-02-20 07:22:42 -07:00
configfs.c nvmet: convert to SPDX identifiers 2019-02-20 07:22:42 -07:00
core.c nvme-loop: init nvmet_ctrl fatal_err_work when allocate 2019-03-13 12:05:39 -06:00
discovery.c nvmet: convert to SPDX identifiers 2019-02-20 07:22:42 -07:00
fabrics-cmd.c nvmet: convert to SPDX identifiers 2019-02-20 07:22:42 -07:00
fc.c nvmet-fc: bring Disconnect into compliance with FC-NVME spec 2019-03-13 12:57:34 -06:00
fcloop.c nvmet-fcloop: convert to SPDX identifiers 2019-02-20 07:22:34 -07:00
io-cmd-bdev.c nvmet: ignore EOPNOTSUPP for discard 2019-03-13 12:57:34 -06:00
io-cmd-file.c nvmet: ignore EOPNOTSUPP for discard 2019-03-13 12:57:34 -06:00
loop.c nvme-loop: convert to SPDX identifiers 2019-02-20 07:22:36 -07:00
nvmet.h nvmet: convert to SPDX identifiers 2019-02-20 07:22:42 -07:00
rdma.c nvmet-rdma: convert to SPDX identifiers 2019-02-20 07:22:39 -07:00
tcp.c nvmet-tcp: fix uninitialized variable access 2019-01-16 09:44:20 -07:00