Hide Forgot
If passwd database is remote, enumerating all users is expensive. Then repquota tool cannot list quota entries for filesystems that do not export list of users with quota in use. That's the case of XFS. Recently, Linux gained new Q_XGETNEXTQUOTA and Q_GETNEXTQUOTA qutoactls to enumerate file system users with quota in use. Once this kernel interface appears in Fedora, we can extend user space quota tools to utilize the new feature. It has already been implemented in upstream with commits: commit 7367f5d511ec4555fbb7a87c1c1853fd4fd01712 Author: Jan Kara <jack> Date: Tue Jan 26 14:06:59 2016 +0100 Add support for scanning using Q_XGETNEXTQUOTA Add support for scanning of all available quota structures using Q_XGETNEXTQUOTA quotactl. Signed-off-by: Jan Kara <jack> commit 85687833434d50e3f5fd4b849e543eb505bf5a20 Author: Jan Kara <jack> Date: Tue Jan 26 13:10:59 2016 +0100 Scan dquots using Q_GETNEXTQUOTA Check for new kernel quotactl Q_GETNEXTQUOTA and if available use it for scanning all dquot structures. Signed-off-by: Jan Kara <jack>
This feature requires a new kernel interface that will be available probably in linux-4.6.