staging: lustre: llite: default dir stripe index only for mkdir
authorwang di <di.wang@intel.com>
Mon, 3 Oct 2016 02:28:05 +0000 (22:28 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:24:26 +0000 (10:24 +0200)
commitd0d3caaed9e1babafb5a883e02e596740acba854
tree108a7e590811a855af903ad04b60cc9cef587bfb
parentbb0c9db9bee2ce86c66c51582a238cf76b8543d0
staging: lustre: llite: default dir stripe index only for mkdir

Default dir stripe index should only work during mkdir,
otherwise it will cause other open/create request being
sent to the wrong MDT.

Signed-off-by: wang di <di.wang@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-6373
Reviewed-on: http://review.whamcloud.com/14096
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/llite_lib.c