1. 31 5月, 2018 21 次提交
  2. 30 5月, 2018 2 次提交
    • C
      block: remove parent device reference from struct bsg_class_device · 5de815a7
      Christoph Hellwig 提交于
      Bsg holding a reference to the parent device may result in a crash if a
      bsg file handle is closed after the parent device driver has unloaded.
      
      Holding a reference is not really needed: the parent device must exist
      between bsg_register_queue and bsg_unregister_queue.  Before the device
      goes away the caller does blk_cleanup_queue so that all in-flight
      requests to the device are gone and all new requests cannot pass beyond
      the queue.  The queue itself is a refcounted object and it will stay
      alive with a bsg file.
      
      Based on analysis, previous patch and changelog from Anatoliy Glagolev.
      Reported-by: NAnatoliy Glagolev <glagolig@gmail.com>
      Reviewed-by: NJames E.J. Bottomley <jejb@linux.vnet.ibm.com>
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      5de815a7
    • J
      Merge branch 'nvme-4.18-2' of git://git.infradead.org/nvme into for-4.18/block · b7405176
      Jens Axboe 提交于
      Pull NVMe changes from Christoph:
      
      "Here is the current batch of nvme updates for 4.18, we have a few more
       patches in the queue, but I'd like to get this pile into your tree
       and linux-next ASAP.
      
       The biggest item is support for file-backed namespaces in the NVMe
       target from Chaitanya, in addition to that we mostly small fixes from
       all the usual suspects."
      
      * 'nvme-4.18-2' of git://git.infradead.org/nvme:
        nvme: fixup memory leak in nvme_init_identify()
        nvme: fix KASAN warning when parsing host nqn
        nvmet-loop: use nr_phys_segments when map rq to sgl
        nvmet-fc: increase LS buffer count per fc port
        nvmet: add simple file backed ns support
        nvmet: remove duplicate NULL initialization for req->ns
        nvmet: make a few error messages more generic
        nvme-fabrics: allow duplicate connections to the discovery controller
        nvme-fabrics: centralize discovery controller defaults
        nvme-fabrics: remove unnecessary controller subnqn validation
        nvme-fc: remove setting DNR on exception conditions
        nvme-rdma: stop admin queue before freeing it
        nvme-pci: Fix AER reset handling
        nvme-pci: set nvmeq->cq_vector after alloc cq/sq
        nvme: host: core: fix precedence of ternary operator
        nvme: fix lockdep warning in nvme_mpath_clear_current_path
      b7405176
  3. 29 5月, 2018 17 次提交