Whamcloud - gitweb
LU-1028 tests: regrab some grant after oos test
authorJinshan Xiong <jinshan.xiong@intel.com>
Fri, 17 Aug 2012 17:15:33 +0000 (10:15 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 4 Oct 2012 18:59:09 +0000 (14:59 -0400)
commit852cd92ab282875ef00d6e1401920cbe6d99c644
treecf262d71cc2245826f13319f63ce9fa97b37b2f1
parent9d45009ee59d62a55db405a21221677c89439dbf
LU-1028 tests: regrab some grant after oos test

After out-of-space test, the client can see a state that avail_grant,
dirty_bytes and lost_grant are zero. In this case, page_mkwrite()
won't work because it can't allocate any grant and this affects fsx
test.

This problem is unlikely to be seen in real world. Therefore, we
wrote a small piece of data to each OSTs through each client mount
to reallocate grant.

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I1d71af0a80491855cf6328a407dd417954c4e60e
Reviewed-on: http://review.whamcloud.com/3711
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: wangdi <di.wang@whamcloud.com>
lustre/tests/sanityn.sh