Whamcloud - gitweb
LU-11760 ofd: limit num of objects to create in 1 transaction 73/35373/5
authorSergey Cheremencev <c17829@cray.com>
Fri, 28 Jun 2019 20:42:28 +0000 (23:42 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 21 Aug 2019 04:44:21 +0000 (04:44 +0000)
commit4485ee8be4cf224e2543f6344efc6e1cb295a0a7
tree04e6ffa2ebfed27cde6a4eae88ecee386b2ba5b9
parenteb17f0df8b085d72d81d53f9ba07ed39cf6eaf36
LU-11760 ofd: limit num of objects to create in 1 transaction

Set flag th_sync when the number of objects to create per
sequence reaches OST_MAX_PRECREATE in one transaction.
It is needed to avoid gaps after OST failover.
See details in LU-11760.

Change-Id: Ie29de5a42e757b07561749982359c01df999e798
Signed-off-by: Sergey Cheremencev <c17829@cray.com>
Reviewed-on: https://review.whamcloud.com/35373
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Alexander Zarochentsev <c17826@cray.com>
lustre/ofd/ofd_fs.c
lustre/ofd/ofd_internal.h
lustre/ofd/ofd_objects.c