1. 01 7月, 2021 1 次提交
  2. 21 6月, 2021 1 次提交
    • C
      nvmet: use NVMET_MAX_NAMESPACES to set nn value · 3c3ee165
      Chaitanya Kulkarni 提交于
      For Spec regarding MNAN value:-
      
      If the controller supports Asymmetric Namespace Access Reporting, then
      this field shall be set to a non-zero value that is less than or equal
      to the NN value.
      
      Instead of using subsys->max_nsid that gets calculated dynamically,
      use NVMET_MAX_NAMESPACES value to report NN. This way we will maintain
      the MNAN value spec compliant with NN.
      
      Without this patch, code results in the following error :-
      
      [337976.409142] nvme nvme1: Invalid MNAN value 1024
      Signed-off-by: NChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      3c3ee165
  3. 17 6月, 2021 28 次提交
  4. 16 6月, 2021 6 次提交
  5. 03 6月, 2021 4 次提交