diff options
| author | 2026-02-27 13:23:53 -0700 | |
|---|---|---|
| committer | 2026-03-27 07:35:05 -0700 | |
| commit | c4cfe8c328aee9e3519a04810480ce8e1fcaeeb7 (patch) | |
| tree | afe024615acd8df4115c47c6498ed1286e236aec /samples/kobject/ssh:/git@git.zx2c4.com/git: | |
| parent | nvmet: use NVME_NS_FEAT_OPTPERF_SHIFT (diff) | |
nvmet: report NPDGL and NPDAL
A block device with a very large discard_granularity queue limit may not
be able to report it in the 16-bit NPDG and NPDA fields in the Identify
Namespace data structure. For this reason, version 2.1 of the NVMe specs
added 32-bit fields NPDGL and NPDAL to the NVM Command Set Specific
Identify Namespace structure. So report the discard_granularity there
too and set OPTPERF to 11b to indicate those fields are supported.
Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
