]> www.infradead.org Git - users/hch/block.git/commit
nvme: move NVME_QUIRK_DEALLOCATE_ZEROES out of nvme_config_discard
authorChristoph Hellwig <hch@lst.de>
Mon, 26 Feb 2024 17:56:20 +0000 (12:56 -0500)
committerChristoph Hellwig <hch@lst.de>
Thu, 29 Feb 2024 15:00:50 +0000 (07:00 -0800)
commitbc827ebca23fcd3751f272b64a2243faed044d7b
treea60685c60a9703dc1627601c5058040c2ab32897
parent93a868ea72e152e1568299006ec3e95402d97c8f
nvme: move NVME_QUIRK_DEALLOCATE_ZEROES out of nvme_config_discard

Move the handling of the NVME_QUIRK_DEALLOCATE_ZEROES quirk out of
nvme_config_discard so that it is combined with the normal write_zeroes
limit handling.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
drivers/nvme/host/core.c