[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANQeFDCOW3opgXVV65bG4vR6LPxwYnNKQqMELzQ4nc252P+f=Q@mail.gmail.com>
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