1. 02 Mar, 2024 1 commit
  2. 13 Apr, 2023 8 commits
  3. 01 Feb, 2023 1 commit
  4. 28 Dec, 2022 2 commits
  5. 07 Dec, 2022 1 commit
  6. 21 Nov, 2022 2 commits
  7. 19 Sep, 2022 1 commit
  8. 02 Aug, 2022 2 commits
  9. 29 Mar, 2022 1 commit
  10. 15 Mar, 2022 1 commit
  11. 27 Oct, 2021 1 commit
  12. 20 Oct, 2021 5 commits
  13. 06 Sep, 2021 1 commit
  14. 21 Jun, 2021 1 commit
    • Chaitanya Kulkarni's avatar
      nvmet: use NVMET_MAX_NAMESPACES to set nn value · 3c3ee165
      Chaitanya Kulkarni authored
      
      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: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      3c3ee165
  15. 17 Jun, 2021 6 commits
  16. 11 May, 2021 1 commit
  17. 04 May, 2021 1 commit
  18. 21 Apr, 2021 1 commit
  19. 02 Apr, 2021 2 commits
  20. 05 Mar, 2021 1 commit
    • Max Gurtovoy's avatar
      nvmet: model_number must be immutable once set · d9f273b7
      Max Gurtovoy authored
      
      In case we have already established connection to nvmf target, it
      shouldn't be allowed to change the model_number. E.g. if someone will
      identify ctrl and get model_number of "my_model" later on will change
      the model_numbel via configfs to "my_new_model" this will break the NVMe
      specification for "Get Log Page – Persistent Event Log" that refers to
      Model Number as: "This field contains the same value as reported in the
      Model Number field of the Identify Controller data structure, bytes
      63:24."
      
      Although it doesn't mentioned explicitly that this field can't be
      changed, we can assume it.
      
      So allow setting this field only once: using configfs or in the first
      identify ctrl operation.
      Signed-off-by: default avatarMax Gurtovoy <mgurtovoy@nvidia.com>
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      d9f273b7