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-11025 osd: osd_attr_get() returns dirent count
[fs/lustre-release.git]
/
lustre
/
include
/
lu_object.h
diff --git
a/lustre/include/lu_object.h
b/lustre/include/lu_object.h
index
4bb797f
..
585b1ca
100644
(file)
--- a/
lustre/include/lu_object.h
+++ b/
lustre/include/lu_object.h
@@
-452,8
+452,12
@@
struct lu_attr {
__u32 la_projid;
/** set layout version to OST objects. */
__u32 la_layout_version;
+ /** dirent count */
+ __u64 la_dirent_count;
};
+#define LU_DIRENT_COUNT_UNSET ~0ULL
+
/**
* Layer in the layered object.
*/