Whamcloud - gitweb
LU-4621 ofd: create same count of objects 26/10626/7
authorHongchao Zhang <hongchao.zhang@intel.com>
Sat, 24 May 2014 07:53:28 +0000 (15:53 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 10 Jul 2014 04:47:42 +0000 (04:47 +0000)
commit446eb3dda264c24acdeeea3158bba55a16c8c5e1
treee93c6b79eb4fc2dc00e10ca3f1d59f39ab05fffa
parent2d41fcdfd46b3a6fe2d5cd7927a180cc3683ab0c
LU-4621 ofd: create same count of objects

when replaying the creation request (precreation) from OSP,
OFD should create the same count of objects as it created
when it processed the request initially, else it could cause
"-ENOENT" problem for the following replay requests coming
from the clients.

Change-Id: I64f61f82f6a662ccc564599468466549a55b55d0
Signed-off-by: Hongchao Zhang <hongchao.zhang@intel.com>
Test-Parameters: alwaysuploadlogs envdefinitions=SLOW=yes \
clientdistro=el6 ossdistro=el6 mdsdistro=el6 clientarch=x86_64 \
ossarch=x86_64 mdsarch=x86_64 \
clientcount=4 osscount=2 mdscount=2 \
austeroptions=-R failover=true iscsi=1 \
testlist=recovery-mds-scale
Reviewed-on: http://review.whamcloud.com/10626
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ofd/ofd_dev.c
lustre/osp/osp_precreate.c