Re: Question about the quota xattrs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thursday 09 July 2015 09:28 PM, chris holcombe wrote:
I've noticed a difference in the trusted.glusterfs.quota.size field. I am using this field instead of the quota list command because it's super fast and doesn't hang occasionally like the command can.

In 3.6 it looks like this:
trusted.glusterfs.quota.size=0x0000000000000000

In 3.7 it looks like this:
trusted.glusterfs.quota.size=0x000000000000000000000000000000000000000000000003
In 3.7 new feature 'object-quota' has been added.

First 64 bytes :   Total size as before
Second 64 bytes: Total number of files including files under sub-directories Third 64 bytes : Total number of directories including directories under subdirectories

Thanks,
Vijay




I dumped these fields with:
getfattr -d -m . -e hex /mnt/brick1

The field in 3.6 is easy to decode as a hex number. In 3.7 however the field appears to be too long or base64 encoded. Does anyone know what happened here?

-Chris
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux