Commit f762aceb authored by Hongchao Zhang's avatar Hongchao Zhang Committed by Oleg Drokin
Browse files

LU-13653 mdt: ignore quota when creating slave stripe

When creating striped directory, the quota limit has been checked
on master MDT, the quota should be ignored when creating the slave
stripe object.

Change-Id: Ia53b1975a8d66c78725feb313659f7a9b889e735
Signed-off-by: default avatarHongchao Zhang <>

Reviewed-by: default avatarLai Siyao <>
Reviewed-by: default avatarWang Shilong <>
Tested-by: default avatarjenkins <>
Tested-by: default avatarMaloo <>
Reviewed-by: default avatarOleg Drokin <>
parent 94441071
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment