1. Feb 03, 2023
    • Jens Axboe's avatar
      Merge tag 'nvme-6.2-2023-02-02' of git://git.infradead.org/nvme into block-6.2 · e02bbac7
      Jens Axboe authored
      Pul NVMe fixes from Christoph:
      
      "nvme fixes for Linux 6.2
      
       - fix a missing queue put in nvmet_fc_ls_create_association (Amit Engel)
       - clear queue pointers on tag_set initialization failure
         (Maurizio Lombardi)
       - use workqueue dedicated to authentication (Shin'ichiro Kawasaki)"
      
      * tag 'nvme-6.2-2023-02-02' of git://git.infradead.org/nvme:
        nvme-auth: use workqueue dedicated to authentication
        nvme: clear the request_queue pointers on failure in nvme_alloc_io_tag_set
        nvme: clear the request_queue pointers on failure in nvme_alloc_admin_tag_set
        nvme-fc: fix a missing queue put in nvmet_fc_ls_create_association
      e02bbac7
  2. Feb 02, 2023
  3. Feb 01, 2023
  4. Jan 31, 2023
  5. Jan 30, 2023
  6. Jan 27, 2023
  7. Jan 26, 2023
  8. Jan 25, 2023
  9. Jan 24, 2023
  10. Jan 20, 2023
  11. Jan 19, 2023
  12. Jan 18, 2023
  13. Jan 17, 2023
  14. Jan 16, 2023
  15. Jan 14, 2023
  16. Jan 13, 2023
    • Adrian Huang's avatar
      md: fix incorrect declaration about claim_rdev in md_import_device · b0907cad
      Adrian Huang authored
      Commit fb541ca4 ("md: remove lock_bdev / unlock_bdev") removes
      wrappers for blkdev_get/blkdev_put. However, the uninitialized local
      static variable of pointer type 'claim_rdev' in md_import_device()
      is NULL, which leads to the following warning call trace:
      
        WARNING: CPU: 22 PID: 1037 at block/bdev.c:577 bd_prepare_to_claim+0x131/0x150
        CPU: 22 PID: 1037 Comm: mdadm Not tainted 6.2.0-rc3+ #69
        ..
        RIP: 0010:bd_prepare_to_claim+0x131/0x150
        ..
        Call Trace:
         <TASK>
         ? _raw_spin_unlock+0x15/0x30
         ? iput+0x6a/0x220
         blkdev_get_by_dev.part.0+0x4b/0x300
         md_import_device+0x126/0x1d0
         new_dev_store+0x184/0x240
         md_attr_store+0x80/0xf0
         kernfs_fop_write_iter+0x128/0x1c0
         vfs_write+0x2be/0x3c0
         ksys_write+0x5f/0xe0
         do_syscall_64+0x38/0x90
         entry_SYSCALL_64_after_hwframe+0x72/0xdc
      
      It turns out the md device cannot be used:
      
        md: could not open device unknown-block(259,0).
        md: md127 stopped.
      
      Fix the issue by declaring the local static variable of struct type
      and passing the pointer of the variable to blkdev_get_by_dev().
      
      Fixes: fb541ca4
      
       ("md: remove lock_bdev / unlock_bdev")
      Cc: Christoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarAdrian Huang <ahuang12@lenovo.com>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarSong Liu <song@kernel.org>
      b0907cad
    • Jens Axboe's avatar
      Merge tag 'nvme-6.2-2023-01-12' of git://git.infradead.org/nvme into block-6.2 · 3d25b1e8
      Jens Axboe authored
      Pull NVMe fixes from Christoph:
      
      "nvme fixes for Linux 6.2
      
       - Identify quirks for Apple controllers (Hector Martin)
       - fix error handling in nvme_pci_enable (Tong Zhang)
       - refuse unprivileged passthrough on partitions (Christoph Hellwig)
       - fix MAINTAINERS to not match nvmem subsystem headers (Russell King)"
      
      * tag 'nvme-6.2-2023-01-12' of git://git.infradead.org/nvme:
        MAINTAINERS: stop nvme matching for nvmem files
        nvme: don't allow unprivileged passthrough on partitions
        nvme: replace the "bool vec" arguments with flags in the ioctl path
        nvme: remove __nvme_ioctl
        nvme-pci: fix error handling in nvme_pci_enable()
        nvme-pci: add NVME_QUIRK_IDENTIFY_CNS quirk to Apple T2 controllers
        nvme-apple: add NVME_QUIRK_IDENTIFY_CNS quirk to fix regression
      3d25b1e8
  17. Jan 10, 2023
  18. Jan 09, 2023
  19. Jan 05, 2023