Whamcloud - gitweb
LU-9771 flr: mirror read and write 95/29095/17
authorJinshan Xiong <jinshan.xiong@intel.com>
Fri, 15 Sep 2017 21:13:10 +0000 (21:13 +0000)
committerJinshan Xiong <jinshan.xiong@intel.com>
Fri, 24 Nov 2017 03:10:46 +0000 (03:10 +0000)
commit5d7c4fa61ce7ba041f82f1151586fd80955cdb1f
tree7ceeb00be1cdd9ed0c504319319dd67d3240a1c2
parenta07c12ba823eb3af258b13372b21efa1134846ff
LU-9771 flr: mirror read and write

Support to perform I/O to designated mirror.

Three APIs have been exported for mirror IO:
1. llapi_mirror_read();
2. llapi_mirror_copy();
3. llapi_mirror_{set,clear}().

Test-Parameters: testlist=sanity-flr
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: Iae1d1edea8e72b423f6f46821594a7d7791ff69b
Reviewed-on: https://review.whamcloud.com/29095
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
15 files changed:
lustre/include/cl_object.h
lustre/include/lustre/lustreapi.h
lustre/include/obd_support.h
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/llite/file.c
lustre/llite/lcommon_cl.c
lustre/llite/llite_internal.h
lustre/lov/lov_io.c
lustre/ofd/ofd_io.c
lustre/tests/Makefile.am
lustre/tests/mirror_io.c [new file with mode: 0644]
lustre/tests/sanity-flr.sh
lustre/utils/Makefile.am
lustre/utils/liblustreapi_layout.c
lustre/utils/liblustreapi_mirror.c [new file with mode: 0644]