Whamcloud - gitweb
b=19529
authordzogin <dzogin>
Wed, 15 Jul 2009 13:20:56 +0000 (13:20 +0000)
committerdzogin <dzogin>
Wed, 15 Jul 2009 13:20:56 +0000 (13:20 +0000)
commit6d2baf29ee8b4a6c136a230e57625b3b2d19d9ff
treef54fbd77f89d2273e5fcd3254c284de85d9313c6
parent399f1d12697590860476422a5484eaef6db9ac16
b=19529
i=andrew.perepechko
i=adilger
Description: Avoid deadlock for local client writes
Details    : Use new OBD_BRW_MEMALLOC flag to notify OST about writes in the
     memory freeing context. This allows OST threads to set the
     PF_MEMALLOC flag on task structures in order to allocate memory
     from reserved pools and complete IO.
     Use GFP_HIGHUSER for OST allocations for non-local client writes,
     so that the OST threads generate memory pressure and allow
     inactive pages to be reclaimed.
lnet/include/libcfs/linux/linux-mem.h