Whamcloud - gitweb
LU-4413 osp: move seq allocation out of osp_import_event 97/8997/3
authorwang di <di.wang@intel.com>
Fri, 24 Jan 2014 22:21:07 +0000 (14:21 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 27 Jan 2014 18:11:23 +0000 (18:11 +0000)
commit9b643f4f54c3e9e0c07c2211904a72ad9c4f823f
treed6102d29cfccdbb0986f0111d0db7b1d0e8f5161
parent7117ff487e59737a3d375b8d8bf1464201b4ea05
LU-4413 osp: move seq allocation out of osp_import_event

Because seq allocation(osp_init_pre_fid) might be stuck
during RPC, move it out of osp_import_event, which is
inside ptlrpcd_rcv. Otherwise, some other import RPCs(like
connect req)might be blocked in ptlrpcd_rcv.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: Ib4014f8b0088ea3613fa4d53d3e274f5bdfe70c7
Reviewed-on: http://review.whamcloud.com/8997
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osp/osp_dev.c
lustre/osp/osp_precreate.c