Whamcloud - gitweb
LU-9771 flr: make sure init size work 81/29581/17
authorJinshan Xiong <jinshan.xiong@intel.com>
Sat, 14 Oct 2017 19:59:06 +0000 (12:59 -0700)
committerJinshan Xiong <jinshan.xiong@intel.com>
Sun, 26 Nov 2017 00:24:31 +0000 (00:24 +0000)
commitb48ed510791ae0f65d95ebbe6cca54a8cd605ca3
treefe72343fbcbd1988b78e51bab6cbb6417176a57d
parent521a697f68de50125e21c90fa5d05ea59e4f0827
LU-9771 flr: make sure init size work

Lustre allows to create a file with empty layout, and truncate it
up with non-zero file size. The size should be applied later after
a layout is attached.

Test-Parameters: testlist=sanity-flr

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: Ie645f8172e98426a531eb2d9ffdcbec8f73f3731
Reviewed-on: https://review.whamcloud.com/29581
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/tests/sanity-flr.sh
lustre/utils/lfs.c