Whamcloud - gitweb
LU-2251 osp: remove invalid assertion
authorJames Simmons <uja.ornl@gmail.com>
Mon, 26 Nov 2012 17:56:51 +0000 (12:56 -0500)
committerOleg Drokin <green@whamcloud.com>
Tue, 27 Nov 2012 21:14:33 +0000 (16:14 -0500)
commitb33cba87140d6801368d68772c864f49178720eb
treee964bf82439de72e531788e249bba230332e7059
parent9275e0c44facf4db7c470a629e314f6e26e9685c
LU-2251 osp: remove invalid assertion

Given we initiate precreation before current pool is exhausted,
we can easly get final number of precreated objects more than
OST_MAX_PRECREATE but it should always be less then the
theortical max of OST_MAX_PRECREATE * 2. If its more than that
then the LASSERT is valid.

Signed-off-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Signed-off-by: James Simmons <uja.ornl@gmail.com>
Change-Id: Ie3ec88c95d94529e457981942e8196b5a6f7d7ae
Reviewed-on: http://review.whamcloud.com/4495
Tested-by: Hudson
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/osp/osp_dev.c