1. 29 9月, 2022 2 次提交
    • P
      block: adapt blk_mq_plug() to not plug for writes that require a zone lock · 8cafdb5a
      Pankaj Raghav 提交于
      The current implementation of blk_mq_plug() disables plugging for all
      operations that involves a transfer to the device as we just check if
      the last bit in op_is_write() function.
      
      Modify blk_mq_plug() to disable plugging only for REQ_OP_WRITE and
      REQ_OP_WRITE_ZEROS as they might require a zone lock.
      Suggested-by: NChristoph Hellwig <hch@lst.de>
      Suggested-by: NDamien Le Moal <damien.lemoal@opensource.wdc.com>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NPankaj Raghav <p.raghav@samsung.com>
      Reviewed-by: NDamien Le Moal <damien.lemoal@opensource.wdc.com>
      Reviewed-by: NJohannes Thumshirn <johannes.thumshirn@wdc.com>
      Link: https://lore.kernel.org/r/20220929074745.103073-2-p.raghav@samsung.comSigned-off-by: NJens Axboe <axboe@kernel.dk>
      8cafdb5a
    • J
      Merge tag 'nvme-6.1-2022-09-28' of git://git.infradead.org/nvme into for-6.1/block · dfdcbf1f
      Jens Axboe 提交于
      Pull NVMe updates from Christoph:
      
      "nvme updates for Linux 6.1
      
       - handle effects after freeing the request (Keith Busch)
       - copy firmware_rev on each init (Keith Busch)
       - restrict management ioctls to admin (Keith Busch)
       - ensure subsystem reset is single threaded (Keith Busch)
       - report the actual number of tagset maps in nvme-pci (Keith Busch)
       - small fabrics authentication fixups (Christoph Hellwig)
       - add common code for tagset allocation and freeing (Christoph Hellwig)
       - stop using the request_queue in nvmet (Christoph Hellwig)
       - set min_align_mask before calculating max_hw_sectors
         (Rishabh Bhatnagar)
       - send a rediscover uevent when a persistent discovery controller
         reconnects (Sagi Grimberg)
       - misc nvmet-tcp fixes (Varun Prakash, zhenwei pi)"
      
      * tag 'nvme-6.1-2022-09-28' of git://git.infradead.org/nvme: (31 commits)
        nvmet: don't look at the request_queue in nvmet_bdev_set_limits
        nvmet: don't look at the request_queue in nvmet_bdev_zone_mgmt_emulate_all
        nvme: remove nvme_ctrl_init_connect_q
        nvme-loop: use the tagset alloc/free helpers
        nvme-loop: store the generic nvme_ctrl in set->driver_data
        nvme-loop: initialize sqsize later
        nvme-fc: use the tagset alloc/free helpers
        nvme-fc: store the generic nvme_ctrl in set->driver_data
        nvme-fc: keep ctrl->sqsize in sync with opts->queue_size
        nvme-rdma: use the tagset alloc/free helpers
        nvme-rdma: store the generic nvme_ctrl in set->driver_data
        nvme-tcp: use the tagset alloc/free helpers
        nvme-tcp: store the generic nvme_ctrl in set->driver_data
        nvme-tcp: remove the unused queue_size member in nvme_tcp_queue
        nvme: add common helpers to allocate and free tagsets
        nvme-auth: add a MAINTAINERS entry
        nvmet: add helpers to set the result field for connect commands
        nvme: improve the NVME_CONNECT_AUTHREQ* definitions
        nvmet-auth: don't try to cancel a non-initialized work_struct
        nvmet-tcp: remove nvmet_tcp_finish_cmd
        ...
      dfdcbf1f
  2. 28 9月, 2022 4 次提交
  3. 27 9月, 2022 34 次提交