X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=include%2Fsys%2Fzfs_vfsops.h;h=f685c1296401493c3b2765f5727a5ff97e9a957e;hb=92db59ca3b42eb0aa3fbdcac689cc49878438177;hp=5b11c93128e6bed5dba7c613034a99c6ff81e81e;hpb=31f2b5abdf95d8426d8bfd66ca7f62ec70215e3c;p=zfs.git diff --git a/include/sys/zfs_vfsops.h b/include/sys/zfs_vfsops.h index 5b11c93..f685c12 100644 --- a/include/sys/zfs_vfsops.h +++ b/include/sys/zfs_vfsops.h @@ -69,6 +69,7 @@ typedef struct zfs_sb { krwlock_t z_teardown_inactive_lock; list_t z_all_znodes; /* all znodes in the fs */ uint64_t z_nr_znodes; /* number of znodes in the fs */ + unsigned long z_rollback_time;/* last online rollback time */ kmutex_t z_znodes_lock; /* lock for z_all_znodes */ struct inode *z_ctldir; /* .zfs directory inode */ avl_tree_t z_ctldir_snaps; /* .zfs/snapshot entries */ @@ -150,6 +151,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,