Whamcloud - gitweb
Branch HEAD
authordzogin <dzogin>
Wed, 8 Jul 2009 06:01:49 +0000 (06:01 +0000)
committerdzogin <dzogin>
Wed, 8 Jul 2009 06:01:49 +0000 (06:01 +0000)
commit3dcf18d393b990e143fbb11fba2ec6137b7b8b43
tree6fa6a50279c7d6887e956cf3901ab2922757666d
parent49c257b73af33971463eb59a46aa15f1d7a4ffb5
 Branch HEAD
 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
libcfs/include/libcfs/linux/linux-mem.h
lustre/ChangeLog
lustre/include/liblustre.h
lustre/include/lustre/lustre_idl.h
lustre/obdfilter/filter_io.c
lustre/osc/osc_page.c
lustre/osc/osc_request.c
lustre/ost/ost_handler.c