X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flustre_quota.h;fp=lustre%2Finclude%2Flustre_quota.h;h=8777ed539196ed98cd82033f152d236c6275c4e6;hb=2a42554850e92ef1aa515269e7d2a4020403c12d;hp=8925380edd5adaf08fb08cea61ca4a241304566c;hpb=1a87510ec2aef550b5654f6edb05f6c7ee5ec78b;p=fs%2Flustre-release.git diff --git a/lustre/include/lustre_quota.h b/lustre/include/lustre_quota.h index 8925380..8777ed5 100644 --- a/lustre/include/lustre_quota.h +++ b/lustre/include/lustre_quota.h @@ -45,6 +45,14 @@ #include #include +#ifndef MAX_IQ_TIME +#define MAX_IQ_TIME 604800 /* (7*24*60*60) 1 week */ +#endif + +#ifndef MAX_DQ_TIME +#define MAX_DQ_TIME 604800 /* (7*24*60*60) 1 week */ +#endif + struct lquota_id_info; struct lquota_trans; @@ -177,6 +185,10 @@ void qsd_op_end(const struct lu_env *, struct qsd_instance *, struct lquota_trans *); void qsd_op_adjust(const struct lu_env *, struct qsd_instance *, union lquota_id *, int); +/* This is exported for the ldiskfs quota migration only, + * see convert_quota_file() */ +int lquota_disk_write_glb(const struct lu_env *, struct dt_object *, + __u64, struct lquota_glb_rec *); /* * Quota information attached to a transaction