diff options
| author | Caleb Sander Mateos <csander@purestorage.com> | 2026-02-27 23:23:53 +0300 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-03-27 17:35:05 +0300 |
| commit | c4cfe8c328aee9e3519a04810480ce8e1fcaeeb7 (patch) | |
| tree | afe024615acd8df4115c47c6498ed1286e236aec /include | |
| parent | e0d56e7055d3762732504eddc059a4a142227e0f (diff) | |
| download | linux-c4cfe8c328aee9e3519a04810480ce8e1fcaeeb7.tar.xz | |
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 'include')
0 files changed, 0 insertions, 0 deletions
