zfs_znode.h (224231) | zfs_znode.h (224251) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 195 unchanged lines hidden (view full) --- 204 uint32_t z_sync_cnt; /* synchronous open count */ 205 kmutex_t z_acl_lock; /* acl data lock */ 206 zfs_acl_t *z_acl_cached; /* cached acl */ 207 list_node_t z_link_node; /* all znodes in fs link */ 208 sa_handle_t *z_sa_hdl; /* handle to sa data */ 209 boolean_t z_is_sa; /* are we native sa? */ 210 /* FreeBSD-specific field. */ 211 struct task z_task; | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 195 unchanged lines hidden (view full) --- 204 uint32_t z_sync_cnt; /* synchronous open count */ 205 kmutex_t z_acl_lock; /* acl data lock */ 206 zfs_acl_t *z_acl_cached; /* cached acl */ 207 list_node_t z_link_node; /* all znodes in fs link */ 208 sa_handle_t *z_sa_hdl; /* handle to sa data */ 209 boolean_t z_is_sa; /* are we native sa? */ 210 /* FreeBSD-specific field. */ 211 struct task z_task; |
212 dev_t z_rdev; | |
213} znode_t; 214 215 216/* 217 * Range locking rules 218 * -------------------- 219 * 1. When truncating a file (zfs_create, zfs_setattr, zfs_space) the whole 220 * file range needs to be locked as RL_WRITER. Only then can the pages be --- 164 unchanged lines hidden --- | 212} znode_t; 213 214 215/* 216 * Range locking rules 217 * -------------------- 218 * 1. When truncating a file (zfs_create, zfs_setattr, zfs_space) the whole 219 * file range needs to be locked as RL_WRITER. Only then can the pages be --- 164 unchanged lines hidden --- |