Whamcloud - gitweb
add functionality to set/get stripe info on directories.
authorshaocheng <shaocheng>
Fri, 30 Jan 2004 22:26:43 +0000 (22:26 +0000)
committershaocheng <shaocheng>
Fri, 30 Jan 2004 22:26:43 +0000 (22:26 +0000)
commita7faf039f19ab79f7ecafd17f8afe2d7939c56f9
tree04bf4f04547057d89dffebcb17545ec385bf0e3f
parentb9b085bb69cc720c064ab99f16514b32a3333742
add functionality to set/get stripe info on directories.
 - add "lfs dsetstripe" to set dir's stripe info
 - using the existing "lfs find" to retrieve stripe info
 - files created under a directory will use the directory's stripe info as default
 - bugs: mkdir dir1; lfs dsetstripe dir1; cd dir1. can't enter it. the reason is that mdc_req2lustre_md will get the stripe info for dir1, which can not pass lov_verify_lmm due to different size of lov_mds_md returned.
lustre/utils/liblustreapi.c