Whamcloud - gitweb
b=24320 do not fork a new thread in mem pressure
authorVitaly Fertman <vitaly.fertman@oracle.com>
Tue, 21 Dec 2010 13:07:45 +0000 (16:07 +0300)
committerVitaly Fertman <vitaly.fertman@oracle.com>
Wed, 22 Dec 2010 01:16:46 +0000 (04:16 +0300)
commit386e9768ee923fa926f106920fab245418eb7ca6
tree98ddaebdcc6e6b5ce180cbb5efbe71a871ae1ea4
parent0e4ce3ad1d80e78d16a01310a714eec0fe2ab0f8
b=24320 do not fork a new thread in mem pressure

i=johann
i=green

we already check for PF_MEMALLOC in ldlm shrinker and pass this flag
to the blocking thread, but a new thread start was still done with
no check for this flag.
lustre/ldlm/ldlm_lockd.c