Re: Back to BFS+TOI issue

Oleksandr Natalenko <[email protected]>
Newsgroups gmane.linux.swsusp.devel
Message-ID <[email protected]>
Great.

Setting no_multithreaded_io to 1 did the trick: I've hibernated and
resumed my laptop 4 times successively (3 w/LZF and 1 w/LZO) with no
problems at all.

Missing mutex somewhere?

12.03.12 22:47, Nigel Cunningham написав(ла):
> Hi.
> 
> On 13/03/12 02:59, Oleksandr Natalenko wrote:
>> Yep, i can reproduce it reliably.
> Great! I've been chasing that bug for a long time (I don't think it's
> BFS specific - BFS just makes it easier to reproduce) - it will be
> terrific to finally knock it on the head.
>> In case of LZO TOI fails with:
>>
>> ===
>> [    2.868511] Stopping fuse filesystems.
>> [    2.868517] Freezing user space processes ... (elapsed 0.01 seconds)
>> done.
>> [    3.009621] usb 7-1: New USB device found, idVendor=046d,
>> idProduct=c51b
>> [    3.009627] usb 7-1: New USB device strings: Mfr=1, Product=2,
>> SerialNumber=0
>> [    3.009631] usb 7-1: Product: USB Receiver
>> [    3.009634] usb 7-1: Manufacturer: Logitech
>> [    3.105586] ...20%
>> [    3.231212]
>> [    3.231214] Breaking out of I/O loop because of result code -22.
>> [    5.514041]
>> [    5.514042] Breaking out of I/O loop because of result code -22.
>> [    5.514046]
>> [    5.515013] Waited for i/o due to readahead not ready 60 times.
>> [    5.515016] Waited for i/o due to synchronous I/O 3 times.
>> [    5.515878] Restarting all filesystems ...
>> [    5.515882] Restarting tasks ... done.
>> ===
>>
>> In case of LZF TOI fails with:
>>
>> ===
>> [    3.479015] Stopping fuse filesystems.
>> [    3.479022] Freezing user space processes ... (elapsed 0.01 seconds)
>> done.
>> [    3.603296] usb 7-1: New USB device found, idVendor=046d,
>> idProduct=c51b
>> [    3.603302] usb 7-1: New USB device strings: Mfr=1, Product=2,
>> SerialNumber=0
>> [    3.603306] usb 7-1: Product: USB Receiver
>> [    3.603309] usb 7-1: Manufacturer: Logitech
>> [    3.975868] ...20%
>> [    4.941101] Decompression yielded 3544 bytes instead of 4096.
>> [    4.941105]
>> [    4.941106] Breaking out of I/O loop because of result code -5.
>> [    6.014157] Decompression yielded 4067 bytes instead of 4096.
>> [    6.014161]
>> [    6.014162] Breaking out of I/O loop because of result code -5.
>> [    6.014166]
>> [    6.014192] Waited for i/o due to readahead not ready 3367 times.
>> [    6.014195] Waited for i/o due to synchronous I/O 3 times.
>> [    6.014197] Waited for i/o due to throughput_throttle 35 times.
>> [    6.015078] Restarting all filesystems ...
>> [    6.015082] Restarting tasks ... done.
>> ===
>>
>> What parameters I have to pass to kernel to check single-threaded job?
> In your hibernate.conf, add:
> 
> ProcSetting no_multithreaded_io 1
> 
> (And change it to 0 to reenable multithreaded I/O).
> 
> Regards,
> 
> Nigel

_______________________________________________
TuxOnIce-devel mailing list
[email protected]
http://lists.tuxonice.net/listinfo/tuxonice-devel
signature.asc (application/pgp-signature, 554 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPXmXwAAoJELftKrVLdx04NqwIAIQtul6SyWnam2S+eCgcPOw9
hOsxmLAL9U5A5tSK3bx+eftdSKTgoLIc4wzMp5rrNM3npbFS1vXVZyH0MatOgZgY
Nlt1ffilRSTsO07ngOPKCjVLrqsm9sb3dOboFyESDI5x6d4Rb/78TSCF/WqHZO5R
J/P5gCJwLWFri8RAntMJOYNS3VMP3p3lcIbzw0hNN3oiyowdR7BI5I+0sOAhyVym
FhtPIOIXAoEWK81PPw5yPEDN/U84Xw+j2k7gwzHKJi+V7S/QvJuYxr84QCE/C9gS
SE8+ge2tgt63CMnS1j6jcb5N/DJAU3U88wX1Z5yXNYclhJzu3im19SqHrNhIE08=
=JI/6
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.