From a0919d638a889f03a5bd804cf4c3a63084680fce Mon Sep 17 00:00:00 2001 From: Humble Devassy Chirammal Date: Thu, 23 Jul 2015 18:07:08 +0530 Subject: Removing glusterfs features doc from glusterfs repo According to the new workflow defined for glusterfs documentation, the features are maintained at https://github.com/gluster/glusterfs-specs. Removing the features dir from the doc repo as per, https://www.mail-archive.com/gluster-users@gluster.org/msg21168.html Change-Id: I2f1219c49ef933f6b89a55f2238787d8565d80b6 BUG: 1206539 Signed-off-by: Humble Devassy Chirammal Reviewed-on: http://review.gluster.org/11749 Tested-by: NetBSD Build System Tested-by: Gluster Build System Reviewed-by: Prashanth Pai Reviewed-by: Humble Devassy Chirammal Reviewed-by: Kaleb KEITHLEY --- doc/features/quota/quota-object-count.md | 47 -------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 doc/features/quota/quota-object-count.md (limited to 'doc/features/quota/quota-object-count.md') diff --git a/doc/features/quota/quota-object-count.md b/doc/features/quota/quota-object-count.md deleted file mode 100644 index 063aa7c5d61..00000000000 --- a/doc/features/quota/quota-object-count.md +++ /dev/null @@ -1,47 +0,0 @@ -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 limit-objects * - -Details: - is a hard-limit for number of objects limitation for path . If hard-limit is exceeded, creation of file or directory is no longer permitted. - -**list-objects** - -Syntax: -*gluster volume quota list-objects \[path\] ...* - -Details: -If path is not specified, then all the directories which has object limit set on it will be displayed. If we provide path then only that particular path is displayed along with the details associated with that. - -Sample output: - - Path Hard-limit Soft-limit Files Dirs Available Soft-limit exceeded? Hard-limit exceeded? - --------------------------------------------------------------------------------------------------------------------------------------------- - /dir 10 80% 0 1 9 No No - -**Deleting limits** - -Syntax: -*gluster volume quota remove-objects * - -Details: -This will remove the object limit set on the specified path. - -Note: There is a known issue associated with remove-objects. When both usage limit and object limit is set on a path, then removal of any limit will lead to removal of other limit as well. This is tracked in the bug #1202244 - - -- cgit