summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-cmd-misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli-cmd-misc.c')
0 files changed, 0 insertions, 0 deletions
ary'>2 files changed, 47 insertions, 0 deletions
diff --git a/doc/features/quota/quota-object-count.md b/doc/features/quota/quota-object-count.md
new file mode 100644
index 00000000000..063aa7c5d61
--- /dev/null
+++ b/doc/features/quota/quota-object-count.md
@@ -0,0 +1,47 @@
+Previous mechanism:
+====================
+
+The only way we could have retrieved the number of files/objects in a directory or volume was to do a crawl of the entire directory/volume. That was expensive and was not scalable.
+
+New Design Implementation:
+==========================
+The proposed mechanism will provide an easier alternative to determine the count of files/objects in a directory or volume.
+
+The new mechanism will store count of objects/files as part of an extended attribute of a directory. Each directory extended attribute value will indicate the number of files/objects present in a tree with the directory being considered as the root of the tree.
+
+Inode quota management
+======================
+
+**setting limits**
+
+Syntax:
+*gluster volume quota <volname\> limit-object