Whamcloud - gitweb
LU-4929 llite: use the correct mode for striped directory 28/10028/8
authorwang di <di.wang@intel.com>
Fri, 18 Apr 2014 21:33:59 +0000 (14:33 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 30 May 2014 01:47:41 +0000 (01:47 +0000)
commit8862fd2a3a34ad9bd97e1424252d37a740cbafd8
tree5c703a3ed817c23c4b5c59f6c6bfb6d05c4b50f4
parent784b028e1c4564f6e6ab99b1ee765b5e4797b6c4
LU-4929 llite: use the correct mode for striped directory

Create striped directory with correct mode, which should be
handling same as mkdir.

Add -m option to setdirstripe so the user can create stripedir
with specified mode.

Signed-off-by: wang di <di.wang@intel.com>
Change-Id: I4d7d186d4c820cfbdddd0aac9012e7e5e2454278
Reviewed-on: http://review.whamcloud.com/10028
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/llite/dir.c
lustre/tests/sanity.sh
lustre/utils/lfs.c
lustre/utils/liblustreapi.c