Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-12624 lod: alloc dir stripes by QoS
[fs/lustre-release.git]
/
lustre
/
mdt
/
mdt_reint.c
diff --git
a/lustre/mdt/mdt_reint.c
b/lustre/mdt/mdt_reint.c
index
73c710e
..
81c148f
100644
(file)
--- a/
lustre/mdt/mdt_reint.c
+++ b/
lustre/mdt/mdt_reint.c
@@
-768,19
+768,6
@@
static int mdt_reint_setattr(struct mdt_thread_info *info,
buf->lb_buf = lmu;
buf->lb_len = ma->ma_lmv_size;
buf->lb_buf = lmu;
buf->lb_len = ma->ma_lmv_size;
-
- if (le32_to_cpu(lmu->lum_hash_type) &
- LMV_HASH_FLAG_SPACE) {
- /*
- * only allow setting "space" hash flag on
- * plain directory.
- */
- rc = mdt_object_striped(info, mo);
- if (rc)
- GOTO(out_put,
- rc = (rc == 1) ? -EPERM : rc);
- }
-
name = XATTR_NAME_DEFAULT_LMV;
/* force client to update dir default layout */
lockpart |= MDS_INODELOCK_LOOKUP;
name = XATTR_NAME_DEFAULT_LMV;
/* force client to update dir default layout */
lockpart |= MDS_INODELOCK_LOOKUP;