1. 12 Apr, 2019 5 commits
  2. 10 Apr, 2019 9 commits
  3. 09 Apr, 2019 1 commit
  4. 08 Apr, 2019 4 commits
  5. 06 Apr, 2019 17 commits
  6. 05 Apr, 2019 4 commits
    • Jens Axboe's avatar
      Merge branch 'nvme-5.2' of git://git.infradead.org/nvme into for-5.2/block · 75199aa5
      Jens Axboe authored
      Pull NVMe changes from Christoph:
      
      "Below is the first batch of nvme updates for 5.2. This includes the
      performance improvements for single segment I/O on PCIe, which introduce
      new block helpers, so it might be a good idea to get them in early.
      
       - various performance optimizations in the PCIe code (Keith and me)
       - new block helpers to support the above (me)
       - nvmet error conversion cleanup (me)
       - nvmet-fc variable sized array cleanup (Gustavo)
       - passthrough ioctl error printk cleanup (Kenneth)
       - small nvmet fixes (Max)
       - endianess conversion cleanup (Max)
       - nvmet-tcp faspath completion optimization (Sagi)"
      
      * 'nvme-5.2' of git://git.infradead.org/nvme: (24 commits)
        nvme: log the error status on Identify Namespace failure
        nvmet: add safety check for subsystem lock during nvmet_ns_changed
        nvmet: never fail double namespace enablement
        nvme-pci: tidy up nvme_map_data
        nvme-pci: optimize mapping single segment requests using SGLs
        nvme-pci: optimize mapping of small single segment requests
        nvme-pci: remove the inline scatterlist optimization
        nvme-pci: split metadata handling from nvme_map_data / nvme_unmap_data
        nvme-pci: do not build a scatterlist to map metadata
        nvme-pci: only call nvme_unmap_data for requests transferring data
        nvme-pci: merge nvme_free_iod into nvme_unmap_data
        nvme-pci: move the call to nvme_cleanup_cmd out of nvme_unmap_data
        nvme-pci: remove nvme_init_iod
        block: add dma_map_bvec helper
        block: add a rq_dma_dir helper
        block: add a rq_integrity_vec helper
        block: add a req_bvec helper
        nvme-pci: remove unused nvme_iod member
        nvme-pci: remove q_dmadev from nvme_queue
        nvme-pci: use a flag for polled queues
        ...
      75199aa5
    • Kenneth Heitke's avatar
      nvme: log the error status on Identify Namespace failure · d0de579c
      Kenneth Heitke authored
      Identify Namespace failures are logged as a warning but there is not
      an indication of the cause for the failure. Update the log message to
      include the error status.
      Signed-off-by: default avatarKenneth Heitke <kenneth.heitke@intel.com>
      Reviewed-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      d0de579c
    • Max Gurtovoy's avatar
      nvmet: add safety check for subsystem lock during nvmet_ns_changed · 013a63ef
      Max Gurtovoy authored
      we need to make sure that subsystem lock is taken during ctrl's list
      traversing. nvmet_ns_changed function is not static and can be used from
      various callers simultaneously.
      Signed-off-by: default avatarMax Gurtovoy <maxg@mellanox.com>
      Reviewed-by: default avatarJohannes Thumshirn <jthumshirn@suse.de>
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      013a63ef
    • Max Gurtovoy's avatar
      nvmet: never fail double namespace enablement · e84c2091
      Max Gurtovoy authored
      In case we create N namespaces while N < NVMET_MAX_NAMESPACES, we can
      perform "echo 1 > <nsid>/enable" as much as we want. In case N ==
      NVMET_MAX_NAMESPACES we fail. Make sure we have the same flow for any N.
      Signed-off-by: default avatarMax Gurtovoy <maxg@mellanox.com>
      Reviewed-by: default avatarJohannes Thumshirn <jthumshirn@suse.de>
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      e84c2091