]> git.proxmox.com Git - zfsonlinux.git/blame - zfs-patches/0033-Clarify-zinject-8-explanation-of-e.patch
bump version to 0.7.7-pve1~bpo9
[zfsonlinux.git] / zfs-patches / 0033-Clarify-zinject-8-explanation-of-e.patch
CommitLineData
75b07eca
FG
1From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Olaf Faaland <faaland1@llnl.gov>
3Date: Thu, 15 Feb 2018 09:50:06 -0800
4Subject: [PATCH] Clarify zinject(8) explanation of -e
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Error injection of EIO or ENXIO simply sets the zio's io_error value,
10rather than preventing the read or write from occurring. This is
11important information as it affects how the probes must be used.
12
13Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
14Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
15Reviewed-by: George Melikov <mail@gmelikov.ru>
16Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
17Closes #7172
18(cherry picked from commit 26941ce90b8f056949a3bc29da606513af799781)
19Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
20---
21 man/man8/zinject.8 | 3 +++
22 1 file changed, 3 insertions(+)
23
24diff --git a/man/man8/zinject.8 b/man/man8/zinject.8
25index 50fecfb64..7f363974b 100644
26--- a/man/man8/zinject.8
27+++ b/man/man8/zinject.8
28@@ -111,6 +111,9 @@ Specify
29 .BR "dtl" " for an ECHILD error,"
30 .BR "io" " for an EIO error where reopening the device will succeed, or"
31 .BR "nxio" " for an ENXIO error where reopening the device will fail."
32+For EIO and ENXIO, the "failed" reads or writes still occur. The probe simply
33+sets the error value reported by the I/O pipeline so it appears the read or
34+write failed.
35 .TP
36 .BI "\-f" " frequency"
37 Only inject errors a fraction of the time. Expressed as a real number
38--
392.14.2
40