ACK: [SRU][P:linux-azure/N:linux-azure][PATCH v4 0/8] azure: backport various SMB multichannel fixes

Manuel Diewald manuel.diewald at canonical.com
Wed Sep 17 07:46:03 UTC 2025


On Thu, Aug 14, 2025 at 10:01:29PM -0300, Vinicius Peixoto wrote:
> BugLink: https://bugs.launchpad.net/bugs/2118807
> 
> [Impact]
> 
> Users of the Azure kernel have been experiencing instabilities when using
> SMB multichannel mounts, especially when the share migrates to a new
> server.
> 
> [Fix]
> 
> Microsoft has pointed us to the following patches, all of which have
> already been merged to mainline as well as several stable branches:
> 
> cifs: reset connections for all channels when reconnect requested (upstream 6.1, 6.6, 6.12, 6.15, and 6.16)
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1f396b9bfe39aaf55ea74a7005806164b236653d
> 
> cifs: update dstaddr whenever channel iface is updated (upstream 6.6, 6.12, 6.15, and 6.16)
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c1846893991f3b4ec8a0cc12219ada153f0814d6
> 
> cifs: dns resolution is needed only for primary channel (upstream 6.6, 6.12, 6.15, and 6.16)
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b4f60a053a2534c3e510ba0c1f8727566adf8317
> 
> cifs: deal with the channel loading lag while picking channels (upstream 6.6, 6.12, 6.15, and 6.16)
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=66d590b828b1fd9fa337047ae58fe1c4c6f43609
> 
> cifs: serialize other channels when query server interfaces is pending (upstream 6.6, 6.12, 6.15, and 6.16)
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b5e3e6e28cf3853566ba5d816f79aba5be579158
> 
> cifs: do not disable interface polling on failure (upstream 6.6, 6.12, 6.15, and 6.16)
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=42ca547b13a20e7cbb04fbdf8d5f089ac4bb35b7
> 
> smb: client: fix potential deadlock when reconnecting channels (upstream 6.6, 6.12, 6.15, and 6.16)
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=711741f94ac3cf9f4e3aa73aa171e76d188c0819
> 
> smb: client: fix warning when reconnecting channel (upstream 6.6, 6.12, 6.15, and 6.16)
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3bbe46716092d8ef6b0df4b95 6f585c5cd0fc78e
> 
> All patches above have been cleanly cherry-picked into the Noble/Plucky
> linux-azure trees.
> 
> [Test plan]
> 
> Build tested only; Microsoft will validate the bug fix.
> 
> [Where problems could occur]
> 
> The changes here could cause errors when managing SMB filesystems with channels connected to multiple different servers.
> 
> [Other info]
> SF #00413632
> 
> v1 -> v2:
> - Add missing BugLink to cover letter
> v2 -> v3:
> - Improve description in the LP bug in order to make the impact to users
>   clearer (thanks Phil!)
> v3 -> v4:
> - Fix series in the cover letter subject (thanks Thibault!)
> 
> Paulo Alcantara (2):
>   smb: client: fix potential deadlock when reconnecting channels
>   smb: client: fix warning when reconnecting channel
> 
> Shyam Prasad N (6):
>   cifs: reset connections for all channels when reconnect requested
>   cifs: update dstaddr whenever channel iface is updated
>   cifs: dns resolution is needed only for primary channel
>   cifs: deal with the channel loading lag while picking channels
>   cifs: serialize other channels when query server interfaces is pending
>   cifs: do not disable interface polling on failure
> 
>  fs/smb/client/cifsglob.h  |  3 ++
>  fs/smb/client/connect.c   | 74 ++++++++++++++++++++++++---------------
>  fs/smb/client/sess.c      |  4 +++
>  fs/smb/client/smb2pdu.c   | 37 +++++++++++++-------
>  fs/smb/client/transport.c | 14 ++++----
>  5 files changed, 84 insertions(+), 48 deletions(-)
> 
> -- 
> 2.45.2
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

Acked-by: Manuel Diewald <manuel.diewald at canonical.com>

-- 
 Manuel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20250917/28250055/attachment.sig>


More information about the kernel-team mailing list