mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 10:54:35 +03:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user