Whamcloud - gitweb
LU-1445 osp: rollover to the new seq synchronously
authorwangdi <di.wang@whamcloud.com>
Thu, 26 Sep 2013 09:57:55 +0000 (02:57 -0700)
committerOleg Drokin <green@whamcloud.com>
Mon, 28 Jan 2013 05:47:47 +0000 (00:47 -0500)
commit57070c9a3ab4c5c17bb06c942fc0d4a2e5519e1b
tree7b2b0e13dba97fc622d08be19019e896cf973f1e
parent6c4c51e3079e6c257fbf86536e4739110c166e3b
LU-1445 osp: rollover to the new seq synchronously

For simplicity, OSP will track only one sequence for precreation,
so it will need

1. Stop precreation when the current sequence is about to used up,
until all of the precreation objects has been used up.

2. ofd will precreate objects synchronously when the current sequence
is about to used up.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I4c0de8f2869c9a8e7a4b0d2abe06041e84885b2e
Reviewed-on: http://review.whamcloud.com/4790
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
lustre/ofd/ofd_internal.h
lustre/ofd/ofd_obd.c
lustre/ofd/ofd_objects.c
lustre/osp/osp_internal.h
lustre/osp/osp_object.c
lustre/osp/osp_precreate.c