[PATCH 10/12] quota: Add realtime block limits fields to XFS disk quota printing code
Eugene Syromyatnikov
evgsyr at gmail.com
Wed Sep 21 03:12:20 UTC 2016
* quota.c (decode_cmd_data): Add printing of d_rtb_hardlimit and
d_rtb_softlimit fields to struct xfs_dqblk printing code.
---
quota.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/quota.c b/quota.c
index bc55638..24370d4 100644
--- a/quota.c
+++ b/quota.c
@@ -269,6 +269,10 @@ decode_cmd_data(struct tcb *tcp, uint32_t id, uint32_t cmd, unsigned long data)
tprintf("d_btimer=%d, ", dq.d_btimer);
tprintf("d_iwarns=%u, ", dq.d_iwarns);
tprintf("d_bwarns=%u, ", dq.d_bwarns);
+ tprintf("d_rtb_hardlimit=%" PRIu64 ", ",
+ dq.d_rtb_hardlimit);
+ tprintf("d_rtb_softlimit=%" PRIu64 ", ",
+ dq.d_rtb_softlimit);
tprintf("d_rtbcount=%" PRIu64 ", ", dq.d_rtbcount);
tprintf("d_rtbtimer=%d, ", dq.d_rtbtimer);
tprintf("d_rtbwarns=%u}", dq.d_rtbwarns);
--
1.7.10.4
More information about the Strace-devel
mailing list