[TuxOnIce-devel] Back to BFS+TOI issue

Oleksandr Natalenko pfactum at gmail.com
Mon Mar 12 17:09:04 EDT 2012


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 554 bytes
Desc: OpenPGP digital signature
URL: <http://lists.tuxonice.net/pipermail/tuxonice-devel/attachments/20120312/758fcb32/attachment.pgp>


More information about the TuxOnIce-devel mailing list