aa7ac7c184
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
61 lines
2.5 KiB
Diff
61 lines
2.5 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Dr=2E=20Andr=C3=A1s=20Korn?=
|
|
<korn-github.com@elan.rulez.org>
|
|
Date: Tue, 30 Jan 2018 11:34:39 +0100
|
|
Subject: [PATCH] tx_waited -> tx_dirty_delayed in trace_dmu.h
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
This change was missed in 0735ecb33485e91a78357a274e47c2782858d8b9.
|
|
|
|
Reviewed-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
|
|
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
|
|
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
|
|
Signed-off-by: András Korn <korn-github.com@elan.rulez.org>
|
|
Closes #7096
|
|
|
|
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
|
---
|
|
include/sys/trace_dmu.h | 11 ++++++-----
|
|
1 file changed, 6 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/include/sys/trace_dmu.h b/include/sys/trace_dmu.h
|
|
index 5ae59e563..24e57f514 100644
|
|
--- a/include/sys/trace_dmu.h
|
|
+++ b/include/sys/trace_dmu.h
|
|
@@ -50,7 +50,7 @@ DECLARE_EVENT_CLASS(zfs_delay_mintime_class,
|
|
__field(uint64_t, tx_lastsnap_txg)
|
|
__field(uint64_t, tx_lasttried_txg)
|
|
__field(boolean_t, tx_anyobj)
|
|
- __field(boolean_t, tx_waited)
|
|
+ __field(boolean_t, tx_dirty_delayed)
|
|
__field(hrtime_t, tx_start)
|
|
__field(boolean_t, tx_wait_dirty)
|
|
__field(int, tx_err)
|
|
@@ -62,7 +62,7 @@ DECLARE_EVENT_CLASS(zfs_delay_mintime_class,
|
|
__entry->tx_lastsnap_txg = tx->tx_lastsnap_txg;
|
|
__entry->tx_lasttried_txg = tx->tx_lasttried_txg;
|
|
__entry->tx_anyobj = tx->tx_anyobj;
|
|
- __entry->tx_waited = tx->tx_waited;
|
|
+ __entry->tx_dirty_delayed = tx->tx_dirty_delayed;
|
|
__entry->tx_start = tx->tx_start;
|
|
__entry->tx_wait_dirty = tx->tx_wait_dirty;
|
|
__entry->tx_err = tx->tx_err;
|
|
@@ -70,11 +70,12 @@ DECLARE_EVENT_CLASS(zfs_delay_mintime_class,
|
|
__entry->min_tx_time = min_tx_time;
|
|
),
|
|
TP_printk("tx { txg %llu lastsnap_txg %llu tx_lasttried_txg %llu "
|
|
- "anyobj %d waited %d start %llu wait_dirty %d err %i "
|
|
+ "anyobj %d dirty_delayed %d start %llu wait_dirty %d err %i "
|
|
"} dirty %llu min_tx_time %llu",
|
|
__entry->tx_txg, __entry->tx_lastsnap_txg,
|
|
- __entry->tx_lasttried_txg, __entry->tx_anyobj, __entry->tx_waited,
|
|
- __entry->tx_start, __entry->tx_wait_dirty, __entry->tx_err,
|
|
+ __entry->tx_lasttried_txg, __entry->tx_anyobj,
|
|
+ __entry->tx_dirty_delayed, __entry->tx_start,
|
|
+ __entry->tx_wait_dirty, __entry->tx_err,
|
|
__entry->dirty, __entry->min_tx_time)
|
|
);
|
|
/* END CSTYLED */
|