xfs_quota: Support XFS_GETNEXTQUOTA in range calls
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 xfs_quota: Support XFS_GETNEXTQUOTA in range calls
vger still blocks my default domain, so I hope this forward via thundebird from another domain will get thru and patch won't get corrupted.
--- Treść przekazanej wiadomości ---
Temat: [PATCH] xfs_quota: Support XFS_GETNEXTQUOTA in range calls
Data: Thu, 9 Dec 2021 13:39:34 +0100
Nadawca: Arkadiusz Miśkiewicz <[email protected]>
Adresat: [email protected]
Kopia: Arkadiusz Miśkiewicz <[email protected]>
Use XFS_GETNEXTQUOTA in range call with -L/-U limits. This makes them perform very fast comparing to current iteration over each (existing and not existing) ID.
dump_file() and report_mount() take upper agrument which is taken into account only when GETNEXTQUOTA_MATCH_FLAG is requested and don't print anything if upper limit is crossed.
--- quota/quota.h | 1 + quota/report.c | 118 ++++++++++++++++++++++++++++++------------------- 2 files changed, 74 insertions(+), 45 deletions(-)
quota/quota.h +1 -0
@@ -65,6 +65,7 @@ enum {ABSOLUTE_FLAG =0x0200 ,/* absolute time, not related to now */ NO_LOOKUP_FLAG =0x0400 ,/* skip name lookups, just report ID */ GETNEXTQUOTA_FLAG =0x0800 ,/* use getnextquota quotactl */ + GETNEXTQUOTA_MATCH_FLAG = 0x1000, /* report only if matches range */ };/*
quota/report.c +73 -41
218 lines not on this page · raw message
Signature · 1 line
2.33.1
Looks good,
Quoted 3 lines · Arkadiusz Miśkiewicz
vger still blocks my default domain, so I hope this forward via thundebird from another domain will get thru and patch won't get corrupted.
I think this did get mangled. Do you mind sending a copy directly to me, if you still have it around?
Thanks,
-Eric