Whamcloud - gitweb
LU-2154 osp: precreate logic to use last assigned id
authorAlex Zhuravlev <alexey.zhuravlev@intel.com>
Wed, 17 Oct 2012 20:28:50 +0000 (00:28 +0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 22 Oct 2012 23:58:23 +0000 (19:58 -0400)
commit04e1d0cb95e1ad1288676c276efd98f6786a58d7
treedb703b516c18d1690eb76849b921bd6c902261c1
parenta9444bc28f105191bec4ad8fbd540711931eee20
LU-2154 osp: precreate logic to use last assigned id

instead of "next to assign". this change removes few cases
where last-created-id could become less than next-to-assign
resulting in an invalid assertions.

Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Change-Id: If41563ea2f227ea980e3017d9485cb9c7caccad5
Reviewed-on: http://review.whamcloud.com/4289
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Mike Pershin <tappro@whamcloud.com>
lustre/osp/lproc_osp.c
lustre/osp/osp_dev.c
lustre/osp/osp_internal.h
lustre/osp/osp_precreate.c