Whamcloud - gitweb
LU-2903 tests: calculation of available space
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Fri, 8 Mar 2013 20:54:21 +0000 (15:54 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 21 Mar 2013 04:48:07 +0000 (00:48 -0400)
commit691fffacfd3b9e9020c615281b409b34eef2dd90
treea16a56c86842bf19349c95c958c63ccea272d11f
parent042c045e24756b074007e960a1eb2f1405eb3e6c
LU-2903 tests: calculation of available space

Better debug logging for statfs path.
Account for log size in space calculation.
Sleep slightly longer to wait for good statfs because zfs doesn't
count uncommitted changes in available space.

Test-Parameters: mdsfilesystemtype=zfs ostfilesystemtype=zfs   mdtfilesystemtype=zfs testlist=replay-ost-single
Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: Ib4b5a7c645d6b2a630dcc729483422c8b3a095db
Reviewed-on: http://review.whamcloud.com/5662
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/ofd/ofd_obd.c
lustre/osd-zfs/osd_handler.c
lustre/tests/replay-ost-single.sh
lustre/tests/test-framework.sh