Acked: [Natty/Oneiric][SRU][pull request] CIFS mount blocks suspend/hibernate
Seth Forshee
seth.forshee at canonical.com
Mon Nov 14 20:27:53 UTC 2011
On Mon, Nov 14, 2011 at 01:33:50PM -0600, Chris J Arges wrote:
> SRU Justification:
>
> Impact:
> If a cifs share is mounted in ubuntu-natty/ubuntu-oneiric and we try to suspend cifsd
> prevents the laptop from suspending.
>
> Fix:
> Applied the patches listed below and rebuilt and tested kernel.
>
> Testcase:
> See LP#24330 for additional information.
>
> Create a cifs share on another machine. On your test laptop, install cifs-utils.
> Mount the share, for example "sudo mount -t cifs //192.168.1.2/test /mnt/test".
> Suspend or hibernate, I used "sudo fwts --s3-multiple=5 s3". (Testcase A)
> Next, try to read data while suspending. Execute: "while true; do cat /mnt/test/hello > /dev/null; done &".
> Suspend or hibernate, I used "sudo fwts --s3-multiple=5 s3". (Testcase B)
> Next, try to write data while suspending. Execute: "while true; do cat /dev/urandom > /mnt/test/rnd; done &"
> Suspend or hibernate, I used "sudo fwts --s3-multiple=5 s3". (Testcase C)
>
> Without the fix, I see failures for natty/oneiric for testcases B/C. I haven't tested enough to see A fail.
>
> With the fix, testcase B works but C will intermittently fail. There is still some work being done on this
> bug and we will need to pick these changes up later. See: https://bugzilla.redhat.com/show_bug.cgi?id=717735
> These patches are still important as it makes the system less prone to failures, and allows suspend to work in
> many cases when using cifs mounts.
This looks like the right set of commits based on previous discussion,
and they're all clean cherry picks.
Acked-by: Seth Forshee <seth.forshee at canonical.com>
More information about the kernel-team
mailing list