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-13653 mdt: ignore quota when creating slave stripe
[fs/lustre-release.git]
/
lustre
/
target
/
out_lib.c
diff --git
a/lustre/target/out_lib.c
b/lustre/target/out_lib.c
index
63a1eb9
..
cf0cb2f
100644
(file)
--- a/
lustre/target/out_lib.c
+++ b/
lustre/target/out_lib.c
@@
-597,6
+597,10
@@
int out_create_add_exec(const struct lu_env *env, struct dt_object *obj,
struct tx_arg *arg;
int rc;
+ /* LU-13653: ignore quota for DNE directory creation */
+ if (dof->dof_type == DFT_DIR)
+ th->th_ignore_quota = 1;
+
rc = dt_declare_create(env, obj, attr, NULL, dof, th);
if (rc != 0)
return rc;