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-1842 iam: store key & rec in LE order for quota IAM files
[fs/lustre-release.git]
/
lustre
/
include
/
lustre_fid.h
diff --git
a/lustre/include/lustre_fid.h
b/lustre/include/lustre_fid.h
index
bb664b2
..
56e2186
100644
(file)
--- a/
lustre/include/lustre_fid.h
+++ b/
lustre/include/lustre_fid.h
@@
-143,6
+143,12
@@
static inline int fid_is_acct(const struct lu_fid *fid)
fid_oid(fid) == ACCT_GROUP_OID);
}
+static inline int fid_is_quota(const struct lu_fid *fid)
+{
+ return fid_seq(fid) == FID_SEQ_QUOTA ||
+ fid_seq(fid) == FID_SEQ_QUOTA_GLB;
+}
+
enum lu_mgr_type {
LUSTRE_SEQ_SERVER,
LUSTRE_SEQ_CONTROLLER