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-2849 hsm: don't run sanity-hsm for ver < 2.3.61
[fs/lustre-release.git]
/
lustre
/
include
/
lustre_quota.h
diff --git
a/lustre/include/lustre_quota.h
b/lustre/include/lustre_quota.h
index
8925380
..
b14d268
100644
(file)
--- a/
lustre/include/lustre_quota.h
+++ b/
lustre/include/lustre_quota.h
@@
-21,7
+21,7
@@
* GPL HEADER END
*/
/*
* GPL HEADER END
*/
/*
- * Copyright (c) 2011, 2012, Intel
, Inc
.
+ * Copyright (c) 2011, 2012, Intel
Corporation
.
* Use is subject to license terms.
*/
* Use is subject to license terms.
*/
@@
-45,6
+45,14
@@
#include <lustre_fid.h>
#include <lustre_dlm.h>
#include <lustre_fid.h>
#include <lustre_dlm.h>
+#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;
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);
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
/*
* Quota information attached to a transaction