diff options
author | Brian Behlendorf <[email protected]> | 2012-12-20 09:55:47 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-12-20 09:56:28 -0800 |
commit | d5446cfc528262ae3a41da31a8524c9d2e793f45 (patch) | |
tree | 7c058bae7c377b6766b7df884cb63293cdf22238 /module/zfs/zfs_ioctl.c | |
parent | 23e3c743f6e36768b97234c3de18f4682111e6c3 (diff) |
Revert "Remove TSD zfs_fsyncer_key"
This reverts commit 31f2b5abdf95d8426d8bfd66ca7f62ec70215e3c back
to the original code until the fsync(2) performance regression
can be addressed.
Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'module/zfs/zfs_ioctl.c')
-rw-r--r-- | module/zfs/zfs_ioctl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/zfs/zfs_ioctl.c b/module/zfs/zfs_ioctl.c index d8e823427..c609203ea 100644 --- a/module/zfs/zfs_ioctl.c +++ b/module/zfs/zfs_ioctl.c @@ -5187,6 +5187,7 @@ zfs_detach(void) list_destroy(&zfsdev_state_list); } +uint_t zfs_fsyncer_key; extern uint_t rrw_tsd_key; #ifdef DEBUG @@ -5209,6 +5210,7 @@ _init(void) if ((error = zfs_attach()) != 0) goto out2; + tsd_create(&zfs_fsyncer_key, NULL); tsd_create(&rrw_tsd_key, NULL); printk(KERN_NOTICE "ZFS: Loaded module v%s-%s%s, " @@ -5238,6 +5240,7 @@ _fini(void) zfs_fini(); spa_fini(); + tsd_destroy(&zfs_fsyncer_key); tsd_destroy(&rrw_tsd_key); printk(KERN_NOTICE "ZFS: Unloaded module v%s-%s%s\n", |