Whamcloud - gitweb
LU-5073 ptlrpc: unlink request buffer correctly 53/10353/3
authorAlexey Lyashkov <alexey_lyashkov@xyratex.com>
Fri, 16 May 2014 17:10:05 +0000 (21:10 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 16 Jun 2014 02:37:30 +0000 (02:37 +0000)
commit5a623f074d92081cde0b60b33127fc9725530aeb
treee33cd3796ef9bb7bdfef0fc39aadfff670b81e3a
parentf72cc1a82a7374dac9fa3509e8db2481c2365e06
LU-5073 ptlrpc: unlink request buffer correctly

outgoning buffer may be hold by lnet and don't unlinked fast,
it's break unloading a lustre modules as request hold a
reference to the export/obd

Signed-off-by: Alexey Lyashkov <alexey_lyashkov@xyratex.com>
Change-Id: I74e59e35a1c4b0c02a3ffa2db8c788c84683b7d6
Xyratex-bug-id: MRP-1848
Reviewed-on: http://review.whamcloud.com/10353
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Liang Zhen <liang.zhen@intel.com>
Reviewed-by: Isaac Huang <he.huang@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_net.h
lustre/ptlrpc/client.c
lustre/ptlrpc/events.c
lustre/ptlrpc/niobuf.c