zil.c (339158) | zil.c (343983) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 89 unchanged lines hidden (view full) --- 98 &zil_replay_disable, 0, "Disable intent logging replay"); 99 100/* 101 * Tunable parameter for debugging or performance analysis. Setting 102 * zfs_nocacheflush will cause corruption on power loss if a volatile 103 * out-of-order write cache is enabled. 104 */ 105boolean_t zfs_nocacheflush = B_FALSE; | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 89 unchanged lines hidden (view full) --- 98 &zil_replay_disable, 0, "Disable intent logging replay"); 99 100/* 101 * Tunable parameter for debugging or performance analysis. Setting 102 * zfs_nocacheflush will cause corruption on power loss if a volatile 103 * out-of-order write cache is enabled. 104 */ 105boolean_t zfs_nocacheflush = B_FALSE; |
106SYSCTL_INT(_vfs_zfs, OID_AUTO, cache_flush_disable, CTLFLAG_RDTUN, | 106SYSCTL_INT(_vfs_zfs, OID_AUTO, cache_flush_disable, CTLFLAG_RWTUN, |
107 &zfs_nocacheflush, 0, "Disable cache flush"); 108boolean_t zfs_trim_enabled = B_TRUE; 109SYSCTL_DECL(_vfs_zfs_trim); 110SYSCTL_INT(_vfs_zfs_trim, OID_AUTO, enabled, CTLFLAG_RDTUN, &zfs_trim_enabled, 0, 111 "Enable ZFS TRIM"); 112 113/* 114 * Limit SLOG write size per commit executed with synchronous priority. --- 3204 unchanged lines hidden --- | 107 &zfs_nocacheflush, 0, "Disable cache flush"); 108boolean_t zfs_trim_enabled = B_TRUE; 109SYSCTL_DECL(_vfs_zfs_trim); 110SYSCTL_INT(_vfs_zfs_trim, OID_AUTO, enabled, CTLFLAG_RDTUN, &zfs_trim_enabled, 0, 111 "Enable ZFS TRIM"); 112 113/* 114 * Limit SLOG write size per commit executed with synchronous priority. --- 3204 unchanged lines hidden --- |