lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 26 Apr 2018 16:16:08 +0800
From:   Liu Bo <obuil.liubo@...il.com>
To:     linux-ext4@...r.kernel.org
Subject: generic quota vs xfs quota

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ