On 07/23/2019 12:28 AM, Marc Schöchlin wrote:
> For
testing purposes i set the timeout to unlimited ("nbd_set_ioctl /dev/nbd0 0", on
already mounted device).
> >> I re-executed the problem procedure and discovered that the
compression-procedure crashes not at the same file, but crashes 30 seconds later with the
same crash behavior.
> >>
> 0 will cause the default timeout of 30 secs to be used.
Okay, then the usage
description of
https://github.com/OnApp/nbd-kernel_mod/blob/master/nbd_set_timeout.c not
seems to be correct :-)
It is correct for older kernels:
With older kernels you could turn it off by setting it to 0, and it was
off by default.
With newer kernels, it's on by default, and there is no way to turn it off.
So with older kernels, you could have been hitting similar slow downs,
but you would have never seen the timeouts, io errors, etc.