Re: manipulating sigmask from filesystems and drivers

Alan Cox
2002-07-31T11:54:50Z

> OpenAFS filesystem driver, and it tries to achieve uninterruptible I/O waiting
> by the following means:

Bletch

> The reason for them doing this is so that they can get the process to appear
> in the "S" state and thus avoid increasing the load average.

Thats come up enough I wish there was a way to distinguish 'disk wait'
and uninterruptible. Its an old V7 handwaving load average estimation trick
that lived too long IMHO

> Can you comment on whether a driver is allowed to block signals like this, and
> whether they should be waiting in TASK_UNINTERRUPTIBLE?

NFS does something similar in hard mount mode.