Comment 31 for bug 24330

Revision history for this message
Chris J Arges (arges) wrote :

Test setup:
t420 with a wireless connection and a cifs share on another machine
vanilla natty (2.6.38-8-generic)
sudo apt-get install cifs-utils
mount -t cifs //192.168.1.102/test /mnt -o user=$USER

Test cases:

* mount with no activity
 sudo fwts --s3-multiple=5 s3
 result: suspend / resume works with a cifs share mounted

* mount with reads
 while true; do cat /mnt/hello > /dev/null; done &
 sudo fwts s3
 result: suspend fails, get 'Freezing of tasks failed...' computer is responsive.

* mount with writes
 while true; do cat /dev/urandom > /mnt/rnd; done &
 sudo fwts s3
 result: suspend fails, and computer becomes unresponsive