[focal:linux-azure][(additional) PATCH 0/1] LP:#1911438 - CIFS: Request for backport

Marcelo Henrique Cerri marcelo.cerri at canonical.com
Tue Feb 2 17:39:49 UTC 2021


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

Microsoft is asking for an additional commit in this bug and since it
wasn't released yet I'm "amending" this additional commit. Sorry for
the heterodox approach :-)

This additional commit is also in stable (in version v5.4.93) and it
will also eventually make into the generic kernels. As the previous
patches we are just targeting the azure kernel first.

As the previous patches this one was also smoke tested as the bug
description.

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"
214a5ea081e7 "cifs: do not fail __smb_send_rqst if non-fatal signals are pending"

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.

---
Ronnie Sahlberg (1):
  cifs: do not fail __smb_send_rqst if non-fatal signals are pending

 fs/cifs/transport.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.25.1




More information about the kernel-team mailing list