Whamcloud - gitweb
LU-6135 lustreapi: allow specific-OST with llapi_layout 63/12663/15
authorAndreas Dilger <andreas.dilger@intel.com>
Wed, 20 Jul 2016 23:32:01 +0000 (19:32 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 27 Jul 2016 03:01:55 +0000 (03:01 +0000)
commit542e21fcfa5b8a6b82d1a1a51930de7439977727
tree00b0ed631a1cf1bd883c6e6bc8da7eeb09369129
parent098a19e8b3ce7595e3c5a9d671a8bf6928b12393
LU-6135 lustreapi: allow specific-OST with llapi_layout

Add support to llapi_layout_ost_index_set() for specifying
specific OST indices for a newly created files. Using
ost_index=LLAPI_LAYOUT_DEFAULT to stripe 0 will reset the
specified stripes back to the default.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: Ic3aea69527119ddf1cb4f91bac531b6eaa3ebbe5
Reviewed-on: http://review.whamcloud.com/12663
Tested-by: Jenkins
Reviewed-by: Frank Zago <fzago@cray.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/doc/llapi_layout_ost_index_get.3
lustre/include/lustre/lustreapi.h
lustre/tests/llapi_layout_test.c
lustre/tests/sanity.sh
lustre/utils/liblustreapi_layout.c