> 在 2018年4月27日,上午1:22,Theodore Y. Ts'o <tytso@xxxxxxx> 写道: > > On Thu, Apr 26, 2018 at 04:16:08PM +0800, Liu Bo wrote: >> >> and ext4 ->statfs() only displays dqb_curspace while xfs ->statfs() >> displays both, > > I'm not sure what you are asking. statfs(2) has nothing to do with > quota support. I think statfs will do some adjustment if target dentry is in project quota directory. So I just guess the question is why don’t we count dqb_rsvspace as used in ext4_statfs_project(). Thanks, Chengguang.