diff options
author | Zhang Yi <yi.zhang@huawei.com> | 2025-06-19 19:18:00 +0800 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-06-23 12:45:13 +0200 |
commit | 50634366de8629fdb96c5dd7ea595f9b61835dfc (patch) | |
tree | 1b67de95984644c344f08bc452a7505c7ae0d16e /lib/crypto/mpi/mpiutil.c | |
parent | 545fb46e5bc6ffaa303181bd3878db506a0f0fa6 (diff) |
nvmet: set WZDS and DRB if device enables unmap write zeroes operation
Set the WZDS and DRB bits to the namespace dlfeat if the underlying
block device enables the unmap write zeroes operation, make the nvme
target device supports the unmap write zeroes command.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://lore.kernel.org/20250619111806.3546162-4-yi.zhang@huaweicloud.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Martin K. Petersen" <martin.petersen@oracle.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions