Whamcloud - gitweb
b=16842 __l_wait_event should sleep using TASK_INT
authorMaxim Patlasov <Maxim.Patlasov@sun.com>
Tue, 28 Sep 2010 10:07:59 +0000 (14:07 +0400)
committerVitaly Fertman <vitaly.fertman@sun.com>
Mon, 4 Oct 2010 19:56:15 +0000 (23:56 +0400)
commitebcf753ef0a69161011093f2ffe853ea2a340bbc
tree2419b3919620cc79ace61616f629fff1cd54d113
parentb8c0f5dfaf4024a9785530ca3a6967470c5f02de
b=16842 __l_wait_event should sleep using TASK_INT

i=green
i=andreas
All threads sleeping in non-interruptible way are accounted in "load average".
This is not desirable for lustre threads sleeping in __l_wait_event.
Traditionally, only threads doing I/O are allowed to sleep in
non-interruptible way.
lustre/include/lustre_lib.h