• Linus Torvalds's avatar
    Merge tag 'block-6.1-2022-10-20' of git://git.kernel.dk/linux · d4b7332e
    Linus Torvalds authored
    Pull block fixes from Jens Axboe:
    
     - NVMe pull request via Christoph:
          - fix nvme-hwmon for DMA non-cohehrent architectures (Serge Semin)
          - add a nvme-hwmong maintainer (Christoph Hellwig)
          - fix error pointer dereference in error handling (Dan Carpenter)
          - fix invalid memory reference in nvmet_subsys_attr_qid_max_show
            (Daniel Wagner)
          - don't limit the DMA segment size in nvme-apple (Russell King)
          - fix workqueue MEM_RECLAIM flushing dependency (Sagi Grimberg)
          - disable write zeroes on various Kingston SSDs (Xander Li)
    
     - fix a memory leak with block device tracing (Ye)
    
     - flexible-array fix for ublk (Yushan)
    
     - document the ublk recovery feature from this merge window
       (ZiyangZhang)
    
     - remove dead bfq variable in struct (Yuwei)
    
     - error handling rq clearing fix (Yu)
    
     - add an IRQ safety check for the cached bio freeing (Pavel)
    
     - drbd bio cloning fix (Christoph)
    
    * tag 'block-6.1-2022-10-20' of git://git.kernel.dk/linux:
      blktrace: remove unnessary stop block trace in 'blk_trace_shutdown'
      blktrace: fix possible memleak in '__blk_trace_remove'
      blktrace: introduce 'blk_trace_{start,stop}' helper
      bio: safeguard REQ_ALLOC_CACHE bio put
      block, bfq: remove unused variable for bfq_queue
      drbd: only clone bio if we have a backing device
      ublk_drv: use flexible-array member instead of zero-length array
      nvmet: fix invalid memory reference in nvmet_subsys_attr_qid_max_show
      nvmet: fix workqueue MEM_RECLAIM flushing dependency
      nvme-hwmon: kmalloc the NVME SMART log buffer
      nvme-hwmon: consistently ignore errors from nvme_hwmon_init
      nvme: add Guenther as nvme-hwmon maintainer
      nvme-apple: don't limit DMA segement size
      nvme-pci: disable write zeroes on various Kingston SSD
      nvme: fix error pointer dereference in error handling
      Documentation: document ublk user recovery feature
      blk-mq: fix null pointer dereference in blk_mq_clear_rq_mapping()
    d4b7332e
bio.c 47.5 KB