]> granicus.if.org Git - strace/commitdiff
quota: add realtime block limits fields to XFS disk quota printing code
authorEugene Syromyatnikov <evgsyr@gmail.com>
Wed, 21 Sep 2016 03:12:20 +0000 (06:12 +0300)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 27 Sep 2016 00:57:27 +0000 (00:57 +0000)
* quota.c (decode_cmd_data): Add printing of d_rtb_hardlimit
and d_rtb_softlimit fields to struct xfs_dqblk printing code.

quota.c

diff --git a/quota.c b/quota.c
index 7fec1ccd6436bddc2280c2f4598e84ff3a67874c..b03ecfd49efcf3406d70ab21f5dc2d5c9967c0b8 100644 (file)
--- a/quota.c
+++ b/quota.c
@@ -390,6 +390,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);