Re: [Gluster-devel] Object Quotas

2015-11-25 Thread Vijaikumar Mallikarjuna
On Thu, Nov 26, 2015 at 10:25 AM, Prashanth Pai wrote: > > > We have sent an upstream patch[1] that enhances the list command by > showing > > used space in case of 'gluster v quota list ' and shows > > 'dir_count,file_count' with gluster v quota list-objects > ' > > command

Re: [Gluster-devel] Object Quotas

2015-11-25 Thread Manikandan Selvaganesh
Hi Prashanth, > Thank you for the feedback, please find my comments inline. > On Tue, Nov 24, 2015 at 10:23 AM, Prashanth Pai < p...@redhat.com > wrote: > It would be good to expose the object count (dir and file separate) to client > via a virtual xattr. I have a use-case to know the

Re: [Gluster-devel] Object Quotas

2015-11-25 Thread Prashanth Pai
> We have sent an upstream patch[1] that enhances the list command by showing > used space in case of 'gluster v quota list ' and shows > 'dir_count,file_count' with gluster v quota list-objects ' > command even when quota limit is not set(But quota/inode-quota should be > configured for the

[Gluster-devel] Object Quotas

2015-11-23 Thread Vijaikumar Mallikarjuna
Hi All, We have implemented a new feature 'Object quotas' in glusterfs-3.7, this feature is same like 'Usage quota' and accounts on the numbers of inodes. The mechanism is to store count of objects (inodes: files/directories) as part of an extended attribute of a directory (same extended

Re: [Gluster-devel] Object Quotas

2015-11-23 Thread Atin Mukherjee
Wouldn't it be worth asking for feedback on this on gluster-users ML as well? ~Atin On 11/23/2015 05:30 PM, Vijaikumar Mallikarjuna wrote: > Hi All, > > We have implemented a new feature 'Object quotas' in glusterfs-3.7, this > feature is same like 'Usage quota' and accounts on the numbers of

Re: [Gluster-devel] Object Quotas

2015-11-23 Thread Prashanth Pai
It would be good to expose the object count (dir and file separate) to client via a virtual xattr. I have a usecase to know the number of files without even having to set/use quota. > Commands supported for 'Object Quotas' > # volume quota {limit-objects []} > # volume quota list-objects []

Re: [Gluster-devel] Object Quotas

2015-11-23 Thread Vijaikumar Mallikarjuna
Hi Prashanth, Thank you for the feedback, please find my comments inline. On Tue, Nov 24, 2015 at 10:23 AM, Prashanth Pai wrote: > It would be good to expose the object count (dir and file separate) to > client via a virtual xattr. I have a use-case to know the number of files