diff options
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/trace_acl.h | 7 | ||||
-rw-r--r-- | include/sys/zfs_znode.h | 7 |
2 files changed, 3 insertions, 11 deletions
diff --git a/include/sys/trace_acl.h b/include/sys/trace_acl.h index b94cb79c6..87ffecb4e 100644 --- a/include/sys/trace_acl.h +++ b/include/sys/trace_acl.h @@ -56,7 +56,6 @@ DECLARE_EVENT_CLASS(zfs_ace_class, __field(uint64_t, z_mapcnt) __field(uint64_t, z_gen) __field(uint64_t, z_size) - __array(uint64_t, z_atime, 2) __field(uint64_t, z_links) __field(uint64_t, z_pflags) __field(uint64_t, z_uid) @@ -95,8 +94,6 @@ DECLARE_EVENT_CLASS(zfs_ace_class, __entry->z_mapcnt = zn->z_mapcnt; __entry->z_gen = zn->z_gen; __entry->z_size = zn->z_size; - __entry->z_atime[0] = zn->z_atime[0]; - __entry->z_atime[1] = zn->z_atime[1]; __entry->z_links = zn->z_links; __entry->z_pflags = zn->z_pflags; __entry->z_uid = zn->z_uid; @@ -126,7 +123,7 @@ DECLARE_EVENT_CLASS(zfs_ace_class, ), TP_printk("zn { id %llu unlinked %u atime_dirty %u " "zn_prefetch %u moved %u blksz %u seq %u " - "mapcnt %llu gen %llu size %llu atime 0x%llx:0x%llx " + "mapcnt %llu gen %llu size %llu " "links %llu pflags %llu uid %llu gid %llu " "sync_cnt %u mode 0x%x is_sa %d is_zvol %d " "is_mapped %d is_ctldir %d is_stale %d inode { " @@ -136,7 +133,7 @@ DECLARE_EVENT_CLASS(zfs_ace_class, __entry->z_id, __entry->z_unlinked, __entry->z_atime_dirty, __entry->z_zn_prefetch, __entry->z_moved, __entry->z_blksz, __entry->z_seq, __entry->z_mapcnt, __entry->z_gen, - __entry->z_size, __entry->z_atime[0], __entry->z_atime[1], + __entry->z_size, __entry->z_links, __entry->z_pflags, __entry->z_uid, __entry->z_gid, __entry->z_sync_cnt, __entry->z_mode, __entry->z_is_sa, __entry->z_is_zvol, __entry->z_is_mapped, diff --git a/include/sys/zfs_znode.h b/include/sys/zfs_znode.h index c03bef5c7..65fa10399 100644 --- a/include/sys/zfs_znode.h +++ b/include/sys/zfs_znode.h @@ -198,7 +198,6 @@ typedef struct znode { uint64_t z_mapcnt; /* number of pages mapped to file */ uint64_t z_gen; /* generation (cached) */ uint64_t z_size; /* file size (cached) */ - uint64_t z_atime[2]; /* atime (cached) */ uint64_t z_links; /* file links (cached) */ uint64_t z_pflags; /* pflags (cached) */ uint64_t z_uid; /* uid fuid (cached) */ @@ -306,16 +305,12 @@ extern unsigned int zfs_object_mutex_size; #define STATE_CHANGED (ATTR_CTIME) #define CONTENT_MODIFIED (ATTR_MTIME | ATTR_CTIME) -#define ZFS_ACCESSTIME_STAMP(zsb, zp) \ - if ((zsb)->z_atime && !(zfs_is_readonly(zsb))) \ - zfs_tstamp_update_setup(zp, ACCESSED, NULL, NULL, B_FALSE); - extern int zfs_init_fs(zfs_sb_t *, znode_t **); extern void zfs_set_dataprop(objset_t *); extern void zfs_create_fs(objset_t *os, cred_t *cr, nvlist_t *, dmu_tx_t *tx); extern void zfs_tstamp_update_setup(znode_t *, uint_t, uint64_t [2], - uint64_t [2], boolean_t); + uint64_t [2]); extern void zfs_grow_blocksize(znode_t *, uint64_t, dmu_tx_t *); extern int zfs_freesp(znode_t *, uint64_t, uint64_t, int, boolean_t); extern void zfs_znode_init(void); |