[focal:linux-azure][PATCH 0/2] LP:#1911438 - CIFS: Request for backport

Marcelo Henrique Cerri marcelo.cerri at canonical.com
Mon Jan 25 17:52:32 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1911438

We can apply those fixes to the primary kernels as well, but I would
like to include them as soon as possible to the Azure kernels. Thaat's
the reason I'm targeting linux-azure for now.

The patches are already in stable in version v5.4.91~54 and they will
be included later to the primary kernels via our stable updates.

As bug description:

[Impact]

Microsoft CIFS team requested below patches to be backported (it was marked for stable last month) to Ubuntu 18.04 and newer.

6988a619f5b7 "cifs: allow syscalls to be restarted in __smb_send_rqst()"
2659d3bff3e1 cifs: fix interrupted close commands

Since 6988a619f5b79e4efadea6e19dcfe75fbcd350b5 hasn't been picked up for 5.4.0-1031-azure (the current 18.04 kernel version for Azure image), I would like make a request for backport.

[Test Case]

Since those are small improvements a basic smoke test can be used to avoid regressions:

1. Install cifs-utils and dbench:

  $ sudo apt-get install cifs-utils dbench

2. Mount a CIFS share using:

   $ sudo mount -t cifs -o username=REMOTEUSER \\remoteip\path\to\shared\folder /mnt

3. Run dbench and check for regressions:

   $ cd /mnt; dbench 20 -t 120 -D .

[Where problems could occur]

The regression potential is restricted to the ability of mounting and accessing CIFS volumes.


---
Paulo Alcantara (2):
  cifs: allow syscalls to be restarted in __smb_send_rqst()
  cifs: fix interrupted close commands

 fs/cifs/smb2pdu.c   | 2 +-
 fs/cifs/transport.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.25.1




More information about the kernel-team mailing list