diff options
author | Christoph Hellwig <hch@lst.de> | 2019-03-13 18:55:09 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-03-13 12:57:34 -0600 |
commit | 005c674f705ee308e23b8e4e7047419d12122fde (patch) | |
tree | 6d506ce9e8786efd605ee03b88b42f46c3460b9f /net/atm | |
parent | 9f0916ab932f676c042d4592a235a895847484f2 (diff) | |
download | linux-005c674f705ee308e23b8e4e7047419d12122fde.tar.bz2 |
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: 3b031d15995f ("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>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions