Whamcloud - gitweb
LU-9771 flr: support extending a plain file to mirrored file 65/29665/14
authorJinshan Xiong <jinshan.xiong@intel.com>
Tue, 14 Nov 2017 00:12:25 +0000 (00:12 +0000)
committerJinshan Xiong <jinshan.xiong@intel.com>
Sun, 26 Nov 2017 00:24:45 +0000 (00:24 +0000)
commit18ccb4a7f5df2ce1f7afb5733d3d0d835a3b3ad9
treed005e2d335055d5e163bf83b6708838e8a7e42fd
parent0bff64be320fd95d80ae21b1362e1a2892bd450a
LU-9771 flr: support extending a plain file to mirrored file

Support extending a plain file to mirrored file by
'lfs mirror extend -N <a_plain_file>', so that <a_plain_file>
becomes a mirrored file, and it contins 2 mirrors each of them
has its old layout parameters covering [0, EOF).

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I415cd65effa72a4bde70b02063d8b635866947a8
Reviewed-on: https://review.whamcloud.com/29665
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/lod/lod_object.c
lustre/tests/sanity-flr.sh