Whamcloud - gitweb
LU-4413 osp: move seq allocation out of osp_import_event 75/9875/3
authorwang di <di.wang@intel.com>
Fri, 24 Jan 2014 22:21:07 +0000 (14:21 -0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 22 May 2014 04:51:47 +0000 (04:51 +0000)
commited82a26746d22fc150f5b096aa9185a049d22a30
tree2822b78623b1036d2c148b3c72a4f1d87384a56f
parentd1d56f6472904c376d14e9ca7b0038ae2c2810d4
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.

Lustre-commit: 9b643f4f54c3e9e0c07c2211904a72ad9c4f823f
Lustre-change: http://review.whamcloud.com/8997

Signed-off-by: wang di <di.wang@intel.com>
Signed-off-by: Bob Glossman <bob.glossman@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>
Change-Id: Ia41487d7859ec2cf8f0033dd97c7df98a18dcded
Reviewed-on: http://review.whamcloud.com/9875
Tested-by: Jenkins
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/osp/osp_dev.c
lustre/osp/osp_precreate.c