Re: Feature suggestion

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

 



Brent,
True, it is a nice idea as size of the directory inode is not used
anywhere (is it used?) We will keep this in mind.
Krishna

On Fri, Mar 20, 2009 at 7:31 AM, Brent A Nelson <brent@xxxxxxxxxxxx> wrote:
> Sage Weil with the Ceph filesystem came up with a clever idea, and it might
> be a tempting optional feature on GlusterFS.  He calls it rbytes accounting,
> if I recall correctly.
>
> Basically, the idea is to just keep a running tally of how much data is
> stored in each directory.  I believe he did this originally for quota
> support, but the neat part is that he decided to make the collected
> statistics available simply through ls.  If you do an ls -l, the size
> associated with any directory listed is the current estimated amount of data
> contained in that directory (and any subdirectories within), rather than the
> size of the directory inode itself (and who really cares about the size of
> the directory inode?).  Neat!
>
> In filesystems where du can take a very long time to run, this would be
> rather convenient.  It's possible that it might break some applications, so
> it certainly should be optional, but such applications are likely quite
> rare.
>
> Perhaps this would fit in nicely with a per-directory quota translator, as
> such a translator might store usage data by directory in an extended
> attribute, anyway?
>
> Thanks,
>
> Brent
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel@xxxxxxxxxx
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>




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

  Powered by Linux