diff options
author | Prakash Surya <[email protected]> | 2018-10-23 09:44:37 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-12-07 11:06:29 -0800 |
commit | 53b1f5eac602b1d576907fa7409f91ac03d607f2 (patch) | |
tree | cdfa983956005228b9e8de6b6201b0b72970c626 /man | |
parent | 18b14b17c854d56b1f952bb6e18a1e0ff1e8b813 (diff) |
OpenZFS 9963 - Separate tunable for disabling ZIL vdev flush
Porting Notes:
* Add options to zfs-module-parameters(5) man page.
* zfs_nocacheflush move to vdev.c instead of vdev_disk.c, since
the latter doesn't get built for user space.
Authored by: Prakash Surya <[email protected]>
Reviewed by: Matt Ahrens <[email protected]>
Reviewed by: Brad Lewis <[email protected]>
Reviewed by: Patrick Mooney <[email protected]>
Reviewed by: Tom Caputi <[email protected]>
Reviewed by: George Melikov <[email protected]>
Approved by: Dan McDonald <[email protected]>
Ported-by: Signed-off-by: Brian Behlendorf <[email protected]>
OpenZFS-issue: https://www.illumos.org/issues/9963
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/f8fdf68125
Closes #8186
Diffstat (limited to 'man')
-rw-r--r-- | man/man5/zfs-module-parameters.5 | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5 index 837a7d1c3..55115c266 100644 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -1846,8 +1846,9 @@ Use \fB1\fR for yes and \fB0\fR for no (default). \fBzfs_nocacheflush\fR (int) .ad .RS 12n -Disable cache flush operations on disks when writing. Beware, this may cause -corruption if disks re-order writes. +Disable cache flush operations on disks when writing. Setting this will +cause pool corruption on power loss if a volatile out-of-order write cache +is enabled. .sp Use \fB1\fR for yes and \fB0\fR for no (default). .RE @@ -1903,8 +1904,6 @@ A value of zero will disable this throttle. Default value: \fB30\fR and \fB0\fR to disable. .RE - - .sp .ne 2 .na @@ -2530,6 +2529,19 @@ Default value: \fB100\fR%. .sp .ne 2 .na +\fBzil_nocacheflush\fR (int) +.ad +.RS 12n +Disable the cache flush commands that are normally sent to the disk(s) by +the ZIL after an LWB write has completed. Setting this will cause ZIL +corruption on power loss if a volatile out-of-order write cache is enabled. +.sp +Use \fB1\fR for yes and \fB0\fR for no (default). +.RE + +.sp +.ne 2 +.na \fBzil_replay_disable\fR (int) .ad .RS 12n |