Skip to contentSkip to conversation

Block fixes for 6.2-rc2

GIT PULL Merged Jens Axboe 2 participants 2 messages Dec 29, 2022 – Dec 30, 2022 Block layer

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

Hi Linus,

Block related fixes that should go into the 6.2 release. Mostly just NVMe, but also a single fixup for BFQ for a regression that happened during the merge window. In detail:

- NVMe pull requests via Christoph:
- Fix doorbell buffer value endianness (Klaus Jensen)
- Fix Linux vs NVMe page size mismatch (Keith Busch)
- Fix a potential use memory access beyong the allocation limit (Keith Busch)
- Fix a multipath vs blktrace NULL pointer dereference (Yanjun Zhang)
- Fix various problems in handling the Command Supported and Effects log (Christoph Hellwig)
- Don't allow unprivileged passthrough of commands that don't transfer data but modify logical block content (Christoph Hellwig)
- Add a features and quirks policy document (Christoph Hellwig)
- Fix some really nasty code that was correct but made smatch complain (Sagi Grimberg)

- Use-after-free regression in BFQ from this merge window (Yu)

Please pull!

The following changes since commit 53eab8e76667b124615a943a033cdf97c80c242a:

block: don't clear REQ_ALLOC_CACHE for non-polled requests (2022-12-16 09:18:09 -0700)

are available in the Git repository at:

git://git.kernel.dk/linux.git tags/block-6.2-2022-12-29

for you to fetch changes up to 1551ed5a178ca030adc92b1eb29157b5e92bf134:

Merge tag 'nvme-6.2-2022-12-29' of git://git.infradead.org/nvme into block-6.2 (2022-12-29 11:31:45 -0700)

----------------------------------------------------------------
block-6.2-2022-12-29

----------------------------------------------------------------
Christoph Hellwig (9):
nvme: fix setting the queue depth in nvme_alloc_io_tag_set
nvme-pci: update sqsize when adjusting the queue depth
docs, nvme: add a feature and quirk policy document
nvme: fix the NVME_CMD_EFFECTS_CSE_MASK definition
nvmet: use NVME_CMD_EFFECTS_CSUPP instead of open coding it
nvmet: set the LBCC bit for commands that modify data
nvmet: don't defer passthrough commands with trivial effects to the workqueue
nvme: also return I/O command effects from nvme_command_effects
nvme: consult the CSE log page for unprivileged passthrough

Jens Axboe (2):

      Merge tag 'nvme-6.2-2022-12-22' of git://git.infradead.org/nvme into block-6.2
      Merge tag 'nvme-6.2-2022-12-29' of git://git.infradead.org/nvme into block-6.2

Keith Busch (2):
nvme-pci: fix mempool alloc size
nvme-pci: fix page size checks

Klaus Jensen (1):
nvme-pci: fix doorbell buffer value endianness

Sagi Grimberg (1):
nvme-auth: fix smatch warning complaints

Yanjun Zhang (1):
nvme: fix multipath crash caused by flush request when blktrace is enabled

Yu Kuai (1):
block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq

 .../maintainer/maintainer-entry-profile.rst        |  1 +
 Documentation/nvme/feature-and-quirk-policy.rst    | 77 ++++++++++++++++++++++
 MAINTAINERS                                        |  1 +
 block/bfq-iosched.c                                |  2 +-
 drivers/nvme/host/auth.c                           |  2 +-
 drivers/nvme/host/core.c                           | 34 ++++++++--
 drivers/nvme/host/ioctl.c                          | 28 ++++++--
 drivers/nvme/host/nvme.h                           |  2 +-
 drivers/nvme/host/pci.c                            | 46 ++++++-------
 drivers/nvme/target/admin-cmd.c                    | 37 ++++++-----
 drivers/nvme/target/passthru.c                     | 11 ++--
 include/linux/nvme.h                               |  4 +-
 12 files changed, 186 insertions(+), 59 deletions(-)
 create mode 100644 Documentation/nvme/feature-and-quirk-policy.rst
Signature · 1 line
Jens Axboe