Whamcloud - gitweb
LU-6261 gnilnd: Use kgnilnd_vzalloc to allocate fma blocks. 38/15438/4
authorChris Horn <hornc@cray.com>
Mon, 27 Jul 2015 20:03:42 +0000 (16:03 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 31 Jul 2015 01:33:06 +0000 (01:33 +0000)
commitc6b0d0e779c18809d1ef9a6e352349107c7e68d8
treee1bea1ea20417d99f8fd4f4694dbfee434e25939
parenta2c4b0583a84165b867b18e1446c187d18335879
LU-6261 gnilnd: Use kgnilnd_vzalloc to allocate fma blocks.

In low memory situations we may not be able to allocate memory.
vmalloc tries forever to get memory.
Use kgnilnd_vzalloc which uses the GFP_NOFS flag for allocating
memory for fma blocks.

Signed-off-by: Chris Horn <hornc@cray.com>
Change-Id: I18f8564424abfc9c63e675ac98ca61487b5a2b34
Reviewed-on: http://review.whamcloud.com/15438
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lnet/klnds/gnilnd/gnilnd_conn.c