Update the default for zfs_txg_history

It's often useful to have access to txg history for debugging
purposes. This patch changes the default from 0 to 100 TXGs
worth of history preserved.

Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed-by: George Melikov <mail@gmelikov.ru>
Signed-off-by: Alek Pinchuk <apinchuk@datto.com>
Closes #6691
This commit is contained in:
Alek P
2017-09-29 15:58:52 -07:00
committed by Brian Behlendorf
parent e71cade67d
commit 01ff0d7540
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -34,9 +34,9 @@ int zfs_read_history = 0;
int zfs_read_history_hits = 0;
/*
* Keeps stats on the last N txgs, disabled by default.
* Keeps stats on the last 100 txgs by default.
*/
int zfs_txg_history = 0;
int zfs_txg_history = 100;
/*
* Keeps stats on the last N MMP updates, disabled by default.