generic quota vs xfs quota

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

 



I got a quick question about quota,

Hi,

typedef struct xfs_dquot {

    xfs_qcnt_t       q_res_bcount;  /* total regular nblks used+reserved */

};

while the generic quota used by ext4/ocfs2,

struct mem_dqblk {

        qsize_t dqb_curspace;   /* current used space */

        qsize_t dqb_rsvspace;   /* current reserved space for delalloc*/


};

and ext4 ->statfs() only displays dqb_curspace while xfs ->statfs()
displays both,

Q1: is it a ext4 bug?
Q2: I didn't see the code where rsv_space is converted to used space,
am I missing anything?


thanks,
liubo
thanks,
liubo



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux