mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
zio_deadman_impl() fix and enhancement
Add the zio_deadman_log_all tunable to print all zios in zio_deadman_impl(). Also, in all cases, display the depth of the zio relative to the original parent zio. This is meant to be used by developers to gain diagnostic information for hangs which don't involve fully set-up zio trees or are otherwise stuck or hung in an early stage. Reviewed-by: Olaf Faaland <faaland1@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: loli10K <ezomori.nozomu@gmail.com> Signed-off-by: Tim Chase <tim@chase2k.com> Closes #8362
This commit is contained in:
committed by
Brian Behlendorf
parent
9c5e88b1de
commit
638dd5f44e
@@ -2638,6 +2638,22 @@ to limit potential SLOG device abuse by single active ZIL writer.
|
||||
Default value: \fB786,432\fR.
|
||||
.RE
|
||||
|
||||
.sp
|
||||
.ne 2
|
||||
.na
|
||||
\fBzio_deadman_log_all\fR (int)
|
||||
.ad
|
||||
.RS 12n
|
||||
If non-zero, the zio deadman will produce debugging messages (see
|
||||
\fBzfs_dbgmsg_enable\fR) for all zios, rather than only for leaf
|
||||
zios possessing a vdev. This is meant to be used by developers to gain
|
||||
diagnostic information for hang conditions which don't involve a mutex
|
||||
or other locking primitive; typically conditions in which a thread in
|
||||
the zio pipeline is looping indefinitely.
|
||||
.sp
|
||||
Default value: \fB0\fR.
|
||||
.RE
|
||||
|
||||
.sp
|
||||
.ne 2
|
||||
.na
|
||||
|
||||
Reference in New Issue
Block a user