From d5446cfc528262ae3a41da31a8524c9d2e793f45 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 20 Dec 2012 09:55:47 -0800 Subject: 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 --- include/sys/zfs_vfsops.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/sys/zfs_vfsops.h') diff --git a/include/sys/zfs_vfsops.h b/include/sys/zfs_vfsops.h index 5b11c9312..4dd46710f 100644 --- a/include/sys/zfs_vfsops.h +++ b/include/sys/zfs_vfsops.h @@ -150,6 +150,8 @@ typedef struct zfid_long { #define SHORT_FID_LEN (sizeof (zfid_short_t) - sizeof (uint16_t)) #define LONG_FID_LEN (sizeof (zfid_long_t) - sizeof (uint16_t)) +extern uint_t zfs_fsyncer_key; + extern int zfs_suspend_fs(zfs_sb_t *zsb); extern int zfs_resume_fs(zfs_sb_t *zsb, const char *osname); extern int zfs_userspace_one(zfs_sb_t *zsb, zfs_userquota_prop_t type, -- cgit v1.2.3