Go to file
Olaf Faaland 2644784f49 Report duration and error in mmp_history entries
After an MMP write completes, update the relevant mmp_history entry
with the time between submission and completion, and the error
status of the write.

[faaland1@toss3a zfs]$ cat /proc/spl/kstat/zfs/pool/multihost
39 0 0x01 100 8800 69147946270893 72723903122926
id       txg     timestamp  error  duration   mmp_delay    vdev_guid
10607    1166    1518985089 0      138301     637785455    4882...
10608    1166    1518985089 0      136154     635407747    1151...
10609    1166    1518985089 0      803618560  633048078    9740...
10610    1166    1518985090 0      144826     633048078    4882...
10611    1166    1518985090 0      164527     666187671    1151...

Where duration = gethrtime_in_done_fn - gethrtime_at_submission, and
error = zio->io_error.

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
Closes #7190
2018-03-14 16:10:37 -07:00
.github Update codecov.yml 2018-03-14 16:10:36 -07:00
cmd Add SMART attributes for SSD and NVMe 2018-03-14 16:10:37 -07:00
config Linux 4.16 compat: use correct *_dec_and_test() 2018-03-14 16:10:37 -07:00
contrib contrib/initramfs: add missing conf.d/zfs 2018-03-14 16:10:37 -07:00
etc Allow modprobe to fail when called within systemd 2018-03-14 16:10:37 -07:00
include Report duration and error in mmp_history entries 2018-03-14 16:10:37 -07:00
lib 'zfs receive' fails with "dataset is busy" 2018-03-14 16:10:37 -07:00
man Clarify zinject(8) explanation of -e 2018-03-14 16:10:37 -07:00
module Report duration and error in mmp_history entries 2018-03-14 16:10:37 -07:00
rpm Fix systemd_ RPM macros usage on Debian-based distributions 2018-03-14 16:10:36 -07:00
scripts Extend zloop.sh for automated testing 2018-01-30 10:27:31 -06:00
tests Correct count_uberblocks in mmp.kshlib 2018-03-14 16:10:37 -07:00
udev Fix spelling 2017-01-03 11:31:18 -06:00
.gitignore Add configure option to enable gcov analysis 2018-03-14 16:10:36 -07:00
.gitmodules Add zimport.sh compatibility test script 2014-02-21 12:10:31 -08:00
AUTHORS Add a missing > to AUTHORS 2014-09-02 14:18:53 -07:00
autogen.sh build: do not call boilerplate ourself 2013-04-02 10:55:20 -07:00
configure.ac Add support for "--enable-code-coverage" option 2018-03-14 16:10:36 -07:00
copy-builtin Allow c99 when building ZFS in the kernel tree 2017-03-27 12:31:15 -07:00
COPYRIGHT Update ZED copyright boilerplate 2015-05-11 15:07:00 -07:00
DISCLAIMER Fix minor typos and update marketing copy. 2013-03-21 12:51:06 -07:00
Makefile.am Add support for "--enable-code-coverage" option 2018-03-14 16:10:36 -07:00
META Tag zfs-0.7.6 2018-02-01 10:02:58 -08:00
OPENSOLARIS.LICENSE Add CDDL license file 2008-12-01 14:49:34 -08:00
README.markdown Update codecov.yml 2018-03-14 16:10:36 -07:00
TEST Retire filebench testing 2017-06-01 06:24:28 -07:00
zfs-script-config.sh.in zpool iostat/status -c improvements 2017-06-05 10:52:15 -07:00
zfs.release.in Move zfs.release generation to configure step 2012-07-12 12:22:51 -07:00

img

ZFS on Linux is an advanced file system and volume manager which was originally developed for Solaris and is now maintained by the OpenZFS community.

codecov

Official Resources

Installation

Full documentation for installing ZoL on your favorite Linux distribution can be found at our site.

Contribute & Develop

We have a separate document with contribution guidelines.