mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
ZIL (ZFS Intent Log) can be safely turned on and off at run time, because
it is only used when dataset is beeing mounted to decide if log should also be opened.
This commit is contained in:
parent
8b384c52c0
commit
1e788bd7e5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169028
@ -70,7 +70,7 @@
|
||||
int zil_disable = 0; /* disable intent logging */
|
||||
SYSCTL_DECL(_vfs_zfs);
|
||||
TUNABLE_INT("vfs.zfs.zil_disable", &zil_disable);
|
||||
SYSCTL_INT(_vfs_zfs, OID_AUTO, zil_disable, CTLFLAG_RDTUN, &zil_disable, 0,
|
||||
SYSCTL_INT(_vfs_zfs, OID_AUTO, zil_disable, CTLFLAG_RW, &zil_disable, 0,
|
||||
"Disable ZFS Intent Log (ZIL)");
|
||||
|
||||
/*
|
||||
|
@ -70,7 +70,7 @@
|
||||
int zil_disable = 0; /* disable intent logging */
|
||||
SYSCTL_DECL(_vfs_zfs);
|
||||
TUNABLE_INT("vfs.zfs.zil_disable", &zil_disable);
|
||||
SYSCTL_INT(_vfs_zfs, OID_AUTO, zil_disable, CTLFLAG_RDTUN, &zil_disable, 0,
|
||||
SYSCTL_INT(_vfs_zfs, OID_AUTO, zil_disable, CTLFLAG_RW, &zil_disable, 0,
|
||||
"Disable ZFS Intent Log (ZIL)");
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user