incore.h (018cbffe6819f6f8db20a0a3acd9bab9bfd667e4) | incore.h (009d851837ab26cab18adda6169a813f70b0b21b) |
---|---|
1/* 2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. 4 * 5 * This copyrighted material is made available to anyone wishing to use, 6 * modify, copy, or redistribute it subject to the terms and conditions 7 * of the GNU General Public License version 2. 8 */ --- 148 unchanged lines hidden (view full) --- 157 void (*go_inval) (struct gfs2_glock *gl, int flags); 158 int (*go_demote_ok) (const struct gfs2_glock *gl); 159 int (*go_lock) (struct gfs2_holder *gh); 160 void (*go_unlock) (struct gfs2_holder *gh); 161 int (*go_dump)(struct seq_file *seq, const struct gfs2_glock *gl); 162 void (*go_callback) (struct gfs2_glock *gl); 163 const int go_type; 164 const unsigned long go_min_hold_time; | 1/* 2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 3 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. 4 * 5 * This copyrighted material is made available to anyone wishing to use, 6 * modify, copy, or redistribute it subject to the terms and conditions 7 * of the GNU General Public License version 2. 8 */ --- 148 unchanged lines hidden (view full) --- 157 void (*go_inval) (struct gfs2_glock *gl, int flags); 158 int (*go_demote_ok) (const struct gfs2_glock *gl); 159 int (*go_lock) (struct gfs2_holder *gh); 160 void (*go_unlock) (struct gfs2_holder *gh); 161 int (*go_dump)(struct seq_file *seq, const struct gfs2_glock *gl); 162 void (*go_callback) (struct gfs2_glock *gl); 163 const int go_type; 164 const unsigned long go_min_hold_time; |
165 const unsigned long go_flags; 166#define GLOF_ASPACE 1 |
|
165}; 166 167enum { 168 /* States */ 169 HIF_HOLDER = 6, /* Set for gh that "holds" the glock */ 170 HIF_FIRST = 7, 171 HIF_WAIT = 10, 172}; --- 47 unchanged lines hidden (view full) --- 220 char gl_lvb[32]; 221 unsigned long gl_tchange; 222 void *gl_object; 223 224 struct list_head gl_lru; 225 226 struct gfs2_sbd *gl_sbd; 227 | 167}; 168 169enum { 170 /* States */ 171 HIF_HOLDER = 6, /* Set for gh that "holds" the glock */ 172 HIF_FIRST = 7, 173 HIF_WAIT = 10, 174}; --- 47 unchanged lines hidden (view full) --- 222 char gl_lvb[32]; 223 unsigned long gl_tchange; 224 void *gl_object; 225 226 struct list_head gl_lru; 227 228 struct gfs2_sbd *gl_sbd; 229 |
228 struct inode *gl_aspace; | |
229 struct list_head gl_ail_list; 230 atomic_t gl_ail_count; 231 struct delayed_work gl_work; 232 struct work_struct gl_delete; 233}; 234 235#define GFS2_MIN_LVB_SIZE 32 /* Min size of LVB that gfs2 supports */ 236 --- 16 unchanged lines hidden (view full) --- 253 struct gfs2_rgrpd *al_rgd; 254 255}; 256 257enum { 258 GIF_INVALID = 0, 259 GIF_QD_LOCKED = 1, 260 GIF_SW_PAGED = 3, | 230 struct list_head gl_ail_list; 231 atomic_t gl_ail_count; 232 struct delayed_work gl_work; 233 struct work_struct gl_delete; 234}; 235 236#define GFS2_MIN_LVB_SIZE 32 /* Min size of LVB that gfs2 supports */ 237 --- 16 unchanged lines hidden (view full) --- 254 struct gfs2_rgrpd *al_rgd; 255 256}; 257 258enum { 259 GIF_INVALID = 0, 260 GIF_QD_LOCKED = 1, 261 GIF_SW_PAGED = 3, |
261 GIF_USER = 4, /* user inode, not metadata addr space */ | |
262}; 263 264 265struct gfs2_inode { 266 struct inode i_inode; 267 u64 i_no_addr; 268 u64 i_no_formal_ino; 269 u64 i_generation; --- 411 unchanged lines hidden --- | 262}; 263 264 265struct gfs2_inode { 266 struct inode i_inode; 267 u64 i_no_addr; 268 u64 i_no_formal_ino; 269 u64 i_generation; --- 411 unchanged lines hidden --- |