mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
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 <[email protected]>
Reviewed by: Chaitanya Kulkarni <[email protected]>
Tested-by: Sagi Grimberg <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>