Skip to contentSkip to conversation

Block fixes for 5.15-rc4

GIT PULL Merged Jens Axboe 5 participants 6 messages Oct 2, 2021 – Oct 3, 2021 1 message not in the archive Block layer

lore
Share & tools
lore

Jens Axboe

author maintainer
#0 lore raw

Hi Linus,

A few block fixes for this release:

- Revert a BFQ commit that causes breakage for people. Unfortunately it was auto-selected for stable as well, so now 5.14.7 suffers from it too. Hopefully stable will pick up this revert quickly too, so we can remove the issue on that end as well.

- Add a quirk for Apple NVMe controllers, which due to their non-compliance broke due to the introduction of command sequences (Keith)

- Use shifts in nbd, fixing a __divdi3 issue (Nick)

Please pull!

The following changes since commit f278eb3d8178f9c31f8dfad7e91440e603dd7f1a:

block: hold ->invalidate_lock in blkdev_fallocate (2021-09-24 11:06:58 -0600)

are available in the Git repository at:

git://git.kernel.dk/linux-block.git tags/block-5.15-2021-10-01

for you to fetch changes up to 41e76c6a3c83c85e849f10754b8632ea763d9be4:

nbd: use shifts rather than multiplies (2021-09-29 20:31:41 -0600)

----------------------------------------------------------------
block-5.15-2021-10-01

----------------------------------------------------------------
Jens Axboe (1):
Revert "block, bfq: honor already-setup queue merges"

Keith Busch (1):
nvme: add command id quirk for apple controllers

Nick Desaulniers (1):
nbd: use shifts rather than multiplies

 block/bfq-iosched.c      | 16 +++-------------
 drivers/block/nbd.c      | 29 +++++++++++++++++------------
 drivers/nvme/host/core.c |  4 +++-
 drivers/nvme/host/nvme.h |  6 ++++++
 drivers/nvme/host/pci.c  |  3 ++-
 5 files changed, 31 insertions(+), 27 deletions(-)
Signature · 1 line
Jens Axboe
#1 lore raw
Quoted 4 lines · Jens Axboe

- Add a quirk for Apple NVMe controllers, which due to their non-compliance broke due to the introduction of command sequences (Keith)

Pulled.

Did we get confirmation that this fixes the issue for Aditya? I just remember seeing issues with some of the proposed patches, but I think there was an additional problem that was specific to the Apple M1, so I may be confused.

Linus

author maintainer
#2 lore raw
Quoted 7 lines · Linus Torvalds
Quoted 4 lines · Jens Axboe

- Add a quirk for Apple NVMe controllers, which due to their non-compliance broke due to the introduction of command sequences (Keith)

Pulled.

Great, thanks.

Quoted 4 lines

Did we get confirmation that this fixes the issue for Aditya? I just remember seeing issues with some of the proposed patches, but I think there was an additional problem that was specific to the Apple M1, so I may be confused.

Yes, Aditya confirmed that applying it to 5.14.7 fixed the issue there.

Signature · 1 line
Jens Axboe
#3 lore raw
In reply to Linus Torvalds
Quoted 6 lines · Linus Torvalds
Quoted 4 lines · Jens Axboe

- Add a quirk for Apple NVMe controllers, which due to their non-compliance broke due to the introduction of command sequences (Keith)

Quoted 6 lines

Pulled.

Did we get confirmation that this fixes the issue for Aditya? I just remember seeing issues with some of the proposed patches, but I think there was an additional problem that was specific to the Apple M1, so I may be confused.

Yes, the tested-by came in a little after the patch was applied so we missed including the tag, but here's the confirmation:

https://lkml.org/lkml/2021/9/28/50

A message that is not in the archive (sent off-list or not yet received): PNZPR01MB4415C6C1CED76358BC8089A4B8AD9@PNZPR01MB4415.INDPRD01.PROD.OUTLOOK.COM

#5 lore raw

One thing I forgot to mention was that some of the hunks of this patch failed to apply on 5.10.69 LTS, making me unable to test it over there, since 5.10.67 onwards, the same issue was seen.

Quoted 23 lines · Aditya Garg

I tested this and it works for me. Thank you for the time of all the developers who helped to get this issue resolved.
From: Linus Torvalds <[email protected]>
Sent: Saturday, October 2, 2021 11:36:21 PM
To: Jens Axboe <[email protected]>; Aditya Garg <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [GIT PULL] Block fixes for 5.15-rc4

Quoted 4 lines · Jens Axboe

- Add a quirk for Apple NVMe controllers, which due to their non-compliance broke due to the introduction of command sequences (Keith)

Pulled.

Did we get confirmation that this fixes the issue for Aditya? I just remember seeing issues with some of the proposed patches, but I think there was an additional problem that was specific to the Apple M1, so I may be confused.

Linus

merge bot Merged
#6 lore raw
In reply to Jens Axboe
The pull request you sent on Fri, 1 Oct 2021 20:06:05 -0600:

The pull request you sent on Fri, 1 Oct 2021 20:06:05 -0600:

Quoted 1 line

git://git.kernel.dk/linux-block.git tags/block-5.15-2021-10-01

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ab2a7a35c4e7e848de9a7cf70f36b62584154140

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html