Whamcloud - gitweb
b=19529
authordzogin <dzogin>
Wed, 15 Jul 2009 13:21:11 +0000 (13:21 +0000)
committerdzogin <dzogin>
Wed, 15 Jul 2009 13:21:11 +0000 (13:21 +0000)
commit41f6d253516ae33358db841436502645e76cd764
tree3930f6083d80ba622c1a7a955c57a00b9cc59cf2
parentfea1c6a5246fdb86075f527bc9dbc5e4f44d838b
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.
lustre/ChangeLog
lustre/include/liblustre.h
lustre/include/lustre/lustre_idl.h
lustre/obdfilter/filter_io.c
lustre/osc/osc_request.c
lustre/ost/ost_handler.c