incore.h 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635
  1. /*
  2. * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
  3. * Copyright (C) 2004-2006 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. */
  9. #ifndef __INCORE_DOT_H__
  10. #define __INCORE_DOT_H__
  11. #include <linux/fs.h>
  12. #define DIO_START 0x00000008
  13. #define DIO_WAIT 0x00000010
  14. #define DIO_METADATA 0x00000020
  15. #define DIO_DATA 0x00000040
  16. #define DIO_RELEASE 0x00000080
  17. #define DIO_ALL 0x00000100
  18. struct gfs2_log_operations;
  19. struct gfs2_log_element;
  20. struct gfs2_holder;
  21. struct gfs2_glock;
  22. struct gfs2_quota_data;
  23. struct gfs2_trans;
  24. struct gfs2_ail;
  25. struct gfs2_jdesc;
  26. struct gfs2_sbd;
  27. typedef void (*gfs2_glop_bh_t) (struct gfs2_glock *gl, unsigned int ret);
  28. /*
  29. * Structure of operations that are associated with each
  30. * type of element in the log.
  31. */
  32. struct gfs2_log_operations {
  33. void (*lo_add) (struct gfs2_sbd *sdp, struct gfs2_log_element *le);
  34. void (*lo_incore_commit) (struct gfs2_sbd *sdp, struct gfs2_trans *tr);
  35. void (*lo_before_commit) (struct gfs2_sbd *sdp);
  36. void (*lo_after_commit) (struct gfs2_sbd *sdp, struct gfs2_ail *ai);
  37. void (*lo_before_scan) (struct gfs2_jdesc *jd,
  38. struct gfs2_log_header *head, int pass);
  39. int (*lo_scan_elements) (struct gfs2_jdesc *jd, unsigned int start,
  40. struct gfs2_log_descriptor *ld, __be64 *ptr,
  41. int pass);
  42. void (*lo_after_scan) (struct gfs2_jdesc *jd, int error, int pass);
  43. const char *lo_name;
  44. };
  45. struct gfs2_log_element {
  46. struct list_head le_list;
  47. const struct gfs2_log_operations *le_ops;
  48. };
  49. struct gfs2_bitmap {
  50. struct buffer_head *bi_bh;
  51. char *bi_clone;
  52. u32 bi_offset;
  53. u32 bi_start;
  54. u32 bi_len;
  55. };
  56. struct gfs2_rgrpd {
  57. struct list_head rd_list; /* Link with superblock */
  58. struct list_head rd_list_mru;
  59. struct list_head rd_recent; /* Recently used rgrps */
  60. struct gfs2_glock *rd_gl; /* Glock for this rgrp */
  61. struct gfs2_rindex rd_ri;
  62. struct gfs2_rgrp rd_rg;
  63. u64 rd_rg_vn;
  64. struct gfs2_bitmap *rd_bits;
  65. unsigned int rd_bh_count;
  66. struct mutex rd_mutex;
  67. u32 rd_free_clone;
  68. struct gfs2_log_element rd_le;
  69. u32 rd_last_alloc_data;
  70. u32 rd_last_alloc_meta;
  71. struct gfs2_sbd *rd_sbd;
  72. };
  73. enum gfs2_state_bits {
  74. BH_Pinned = BH_PrivateStart,
  75. BH_Escaped = BH_PrivateStart + 1,
  76. };
  77. BUFFER_FNS(Pinned, pinned)
  78. TAS_BUFFER_FNS(Pinned, pinned)
  79. BUFFER_FNS(Escaped, escaped)
  80. TAS_BUFFER_FNS(Escaped, escaped)
  81. struct gfs2_bufdata {
  82. struct buffer_head *bd_bh;
  83. struct gfs2_glock *bd_gl;
  84. struct list_head bd_list_tr;
  85. struct gfs2_log_element bd_le;
  86. struct gfs2_ail *bd_ail;
  87. struct list_head bd_ail_st_list;
  88. struct list_head bd_ail_gl_list;
  89. };
  90. struct gfs2_glock_operations {
  91. void (*go_xmote_th) (struct gfs2_glock * gl, unsigned int state,
  92. int flags);
  93. void (*go_xmote_bh) (struct gfs2_glock * gl);
  94. void (*go_drop_th) (struct gfs2_glock * gl);
  95. void (*go_drop_bh) (struct gfs2_glock * gl);
  96. void (*go_sync) (struct gfs2_glock * gl, int flags);
  97. void (*go_inval) (struct gfs2_glock * gl, int flags);
  98. int (*go_demote_ok) (struct gfs2_glock * gl);
  99. int (*go_lock) (struct gfs2_holder * gh);
  100. void (*go_unlock) (struct gfs2_holder * gh);
  101. void (*go_callback) (struct gfs2_glock * gl, unsigned int state);
  102. void (*go_greedy) (struct gfs2_glock * gl);
  103. const int go_type;
  104. };
  105. enum {
  106. /* Actions */
  107. HIF_MUTEX = 0,
  108. HIF_PROMOTE = 1,
  109. HIF_DEMOTE = 2,
  110. HIF_GREEDY = 3,
  111. /* States */
  112. HIF_ALLOCED = 4,
  113. HIF_DEALLOC = 5,
  114. HIF_HOLDER = 6,
  115. HIF_FIRST = 7,
  116. HIF_ABORTED = 9,
  117. };
  118. struct gfs2_holder {
  119. struct list_head gh_list;
  120. struct gfs2_glock *gh_gl;
  121. struct task_struct *gh_owner;
  122. unsigned int gh_state;
  123. unsigned gh_flags;
  124. int gh_error;
  125. unsigned long gh_iflags;
  126. struct completion gh_wait;
  127. unsigned long gh_ip;
  128. };
  129. enum {
  130. GLF_LOCK = 1,
  131. GLF_STICKY = 2,
  132. GLF_PREFETCH = 3,
  133. GLF_DIRTY = 5,
  134. GLF_SKIP_WAITERS2 = 6,
  135. GLF_GREEDY = 7,
  136. };
  137. struct gfs2_glock {
  138. struct hlist_node gl_list;
  139. unsigned long gl_flags; /* GLF_... */
  140. struct lm_lockname gl_name;
  141. atomic_t gl_ref;
  142. spinlock_t gl_spin;
  143. unsigned int gl_state;
  144. unsigned int gl_hash;
  145. struct task_struct *gl_owner;
  146. unsigned long gl_ip;
  147. struct list_head gl_holders;
  148. struct list_head gl_waiters1; /* HIF_MUTEX */
  149. struct list_head gl_waiters2; /* HIF_DEMOTE, HIF_GREEDY */
  150. struct list_head gl_waiters3; /* HIF_PROMOTE */
  151. const struct gfs2_glock_operations *gl_ops;
  152. struct gfs2_holder *gl_req_gh;
  153. gfs2_glop_bh_t gl_req_bh;
  154. void *gl_lock;
  155. char *gl_lvb;
  156. atomic_t gl_lvb_count;
  157. u64 gl_vn;
  158. unsigned long gl_stamp;
  159. void *gl_object;
  160. struct list_head gl_reclaim;
  161. struct gfs2_sbd *gl_sbd;
  162. struct inode *gl_aspace;
  163. struct gfs2_log_element gl_le;
  164. struct list_head gl_ail_list;
  165. atomic_t gl_ail_count;
  166. };
  167. struct gfs2_alloc {
  168. /* Quota stuff */
  169. struct gfs2_quota_data *al_qd[2*MAXQUOTAS];
  170. struct gfs2_holder al_qd_ghs[2*MAXQUOTAS];
  171. unsigned int al_qd_num;
  172. u32 al_requested; /* Filled in by caller of gfs2_inplace_reserve() */
  173. u32 al_alloced; /* Filled in by gfs2_alloc_*() */
  174. /* Filled in by gfs2_inplace_reserve() */
  175. unsigned int al_line;
  176. char *al_file;
  177. struct gfs2_holder al_ri_gh;
  178. struct gfs2_holder al_rgd_gh;
  179. struct gfs2_rgrpd *al_rgd;
  180. };
  181. enum {
  182. GIF_QD_LOCKED = 1,
  183. GIF_PAGED = 2,
  184. GIF_SW_PAGED = 3,
  185. };
  186. struct gfs2_inode {
  187. struct inode i_inode;
  188. struct gfs2_inum i_num;
  189. unsigned long i_flags; /* GIF_... */
  190. u64 i_vn;
  191. struct gfs2_dinode i_di; /* To be replaced by ref to block */
  192. struct gfs2_glock *i_gl; /* Move into i_gh? */
  193. struct gfs2_holder i_iopen_gh;
  194. struct gfs2_holder i_gh; /* for prepare/commit_write only */
  195. struct gfs2_alloc i_alloc;
  196. u64 i_last_rg_alloc;
  197. spinlock_t i_spin;
  198. struct rw_semaphore i_rw_mutex;
  199. unsigned int i_greedy;
  200. unsigned long i_last_pfault;
  201. struct buffer_head *i_cache[GFS2_MAX_META_HEIGHT];
  202. };
  203. /*
  204. * Since i_inode is the first element of struct gfs2_inode,
  205. * this is effectively a cast.
  206. */
  207. static inline struct gfs2_inode *GFS2_I(struct inode *inode)
  208. {
  209. return container_of(inode, struct gfs2_inode, i_inode);
  210. }
  211. /* To be removed? */
  212. static inline struct gfs2_sbd *GFS2_SB(struct inode *inode)
  213. {
  214. return inode->i_sb->s_fs_info;
  215. }
  216. enum {
  217. GFF_DID_DIRECT_ALLOC = 0,
  218. GFF_EXLOCK = 1,
  219. };
  220. struct gfs2_file {
  221. unsigned long f_flags; /* GFF_... */
  222. struct mutex f_fl_mutex;
  223. struct gfs2_holder f_fl_gh;
  224. };
  225. struct gfs2_revoke {
  226. struct gfs2_log_element rv_le;
  227. u64 rv_blkno;
  228. };
  229. struct gfs2_revoke_replay {
  230. struct list_head rr_list;
  231. u64 rr_blkno;
  232. unsigned int rr_where;
  233. };
  234. enum {
  235. QDF_USER = 0,
  236. QDF_CHANGE = 1,
  237. QDF_LOCKED = 2,
  238. };
  239. struct gfs2_quota_lvb {
  240. __be32 qb_magic;
  241. u32 __pad;
  242. __be64 qb_limit; /* Hard limit of # blocks to alloc */
  243. __be64 qb_warn; /* Warn user when alloc is above this # */
  244. __be64 qb_value; /* Current # blocks allocated */
  245. };
  246. struct gfs2_quota_data {
  247. struct list_head qd_list;
  248. unsigned int qd_count;
  249. u32 qd_id;
  250. unsigned long qd_flags; /* QDF_... */
  251. s64 qd_change;
  252. s64 qd_change_sync;
  253. unsigned int qd_slot;
  254. unsigned int qd_slot_count;
  255. struct buffer_head *qd_bh;
  256. struct gfs2_quota_change *qd_bh_qc;
  257. unsigned int qd_bh_count;
  258. struct gfs2_glock *qd_gl;
  259. struct gfs2_quota_lvb qd_qb;
  260. u64 qd_sync_gen;
  261. unsigned long qd_last_warn;
  262. unsigned long qd_last_touched;
  263. };
  264. struct gfs2_log_buf {
  265. struct list_head lb_list;
  266. struct buffer_head *lb_bh;
  267. struct buffer_head *lb_real;
  268. };
  269. struct gfs2_trans {
  270. unsigned long tr_ip;
  271. unsigned int tr_blocks;
  272. unsigned int tr_revokes;
  273. unsigned int tr_reserved;
  274. struct gfs2_holder tr_t_gh;
  275. int tr_touched;
  276. unsigned int tr_num_buf;
  277. unsigned int tr_num_buf_new;
  278. unsigned int tr_num_buf_rm;
  279. struct list_head tr_list_buf;
  280. unsigned int tr_num_revoke;
  281. unsigned int tr_num_revoke_rm;
  282. };
  283. struct gfs2_ail {
  284. struct list_head ai_list;
  285. unsigned int ai_first;
  286. struct list_head ai_ail1_list;
  287. struct list_head ai_ail2_list;
  288. u64 ai_sync_gen;
  289. };
  290. struct gfs2_jdesc {
  291. struct list_head jd_list;
  292. struct inode *jd_inode;
  293. unsigned int jd_jid;
  294. int jd_dirty;
  295. unsigned int jd_blocks;
  296. };
  297. #define GFS2_GLOCKD_DEFAULT 1
  298. #define GFS2_GLOCKD_MAX 16
  299. #define GFS2_QUOTA_DEFAULT GFS2_QUOTA_OFF
  300. #define GFS2_QUOTA_OFF 0
  301. #define GFS2_QUOTA_ACCOUNT 1
  302. #define GFS2_QUOTA_ON 2
  303. #define GFS2_DATA_DEFAULT GFS2_DATA_ORDERED
  304. #define GFS2_DATA_WRITEBACK 1
  305. #define GFS2_DATA_ORDERED 2
  306. struct gfs2_args {
  307. char ar_lockproto[GFS2_LOCKNAME_LEN]; /* Name of the Lock Protocol */
  308. char ar_locktable[GFS2_LOCKNAME_LEN]; /* Name of the Lock Table */
  309. char ar_hostdata[GFS2_LOCKNAME_LEN]; /* Host specific data */
  310. int ar_spectator; /* Don't get a journal because we're always RO */
  311. int ar_ignore_local_fs; /* Don't optimize even if local_fs is 1 */
  312. int ar_localflocks; /* Let the VFS do flock|fcntl locks for us */
  313. int ar_localcaching; /* Local-style caching (dangerous on multihost) */
  314. int ar_debug; /* Oops on errors instead of trying to be graceful */
  315. int ar_upgrade; /* Upgrade ondisk/multihost format */
  316. unsigned int ar_num_glockd; /* Number of glockd threads */
  317. int ar_posix_acl; /* Enable posix acls */
  318. int ar_quota; /* off/account/on */
  319. int ar_suiddir; /* suiddir support */
  320. int ar_data; /* ordered/writeback */
  321. };
  322. struct gfs2_tune {
  323. spinlock_t gt_spin;
  324. unsigned int gt_ilimit;
  325. unsigned int gt_ilimit_tries;
  326. unsigned int gt_ilimit_min;
  327. unsigned int gt_demote_secs; /* Cache retention for unheld glock */
  328. unsigned int gt_incore_log_blocks;
  329. unsigned int gt_log_flush_secs;
  330. unsigned int gt_jindex_refresh_secs; /* Check for new journal index */
  331. unsigned int gt_scand_secs;
  332. unsigned int gt_recoverd_secs;
  333. unsigned int gt_logd_secs;
  334. unsigned int gt_quotad_secs;
  335. unsigned int gt_quota_simul_sync; /* Max quotavals to sync at once */
  336. unsigned int gt_quota_warn_period; /* Secs between quota warn msgs */
  337. unsigned int gt_quota_scale_num; /* Numerator */
  338. unsigned int gt_quota_scale_den; /* Denominator */
  339. unsigned int gt_quota_cache_secs;
  340. unsigned int gt_quota_quantum; /* Secs between syncs to quota file */
  341. unsigned int gt_atime_quantum; /* Min secs between atime updates */
  342. unsigned int gt_new_files_jdata;
  343. unsigned int gt_new_files_directio;
  344. unsigned int gt_max_atomic_write; /* Split big writes into this size */
  345. unsigned int gt_max_readahead; /* Max bytes to read-ahead from disk */
  346. unsigned int gt_lockdump_size;
  347. unsigned int gt_stall_secs; /* Detects trouble! */
  348. unsigned int gt_complain_secs;
  349. unsigned int gt_reclaim_limit; /* Max num of glocks in reclaim list */
  350. unsigned int gt_entries_per_readdir;
  351. unsigned int gt_prefetch_secs; /* Usage window for prefetched glocks */
  352. unsigned int gt_greedy_default;
  353. unsigned int gt_greedy_quantum;
  354. unsigned int gt_greedy_max;
  355. unsigned int gt_statfs_quantum;
  356. unsigned int gt_statfs_slow;
  357. };
  358. enum {
  359. SDF_JOURNAL_CHECKED = 0,
  360. SDF_JOURNAL_LIVE = 1,
  361. SDF_SHUTDOWN = 2,
  362. SDF_NOATIME = 3,
  363. };
  364. #define GFS2_FSNAME_LEN 256
  365. struct gfs2_sbd {
  366. struct super_block *sd_vfs;
  367. struct super_block *sd_vfs_meta;
  368. struct kobject sd_kobj;
  369. unsigned long sd_flags; /* SDF_... */
  370. struct gfs2_sb sd_sb;
  371. /* Constants computed on mount */
  372. u32 sd_fsb2bb;
  373. u32 sd_fsb2bb_shift;
  374. u32 sd_diptrs; /* Number of pointers in a dinode */
  375. u32 sd_inptrs; /* Number of pointers in a indirect block */
  376. u32 sd_jbsize; /* Size of a journaled data block */
  377. u32 sd_hash_bsize; /* sizeof(exhash block) */
  378. u32 sd_hash_bsize_shift;
  379. u32 sd_hash_ptrs; /* Number of pointers in a hash block */
  380. u32 sd_qc_per_block;
  381. u32 sd_max_dirres; /* Max blocks needed to add a directory entry */
  382. u32 sd_max_height; /* Max height of a file's metadata tree */
  383. u64 sd_heightsize[GFS2_MAX_META_HEIGHT];
  384. u32 sd_max_jheight; /* Max height of journaled file's meta tree */
  385. u64 sd_jheightsize[GFS2_MAX_META_HEIGHT];
  386. struct gfs2_args sd_args; /* Mount arguments */
  387. struct gfs2_tune sd_tune; /* Filesystem tuning structure */
  388. /* Lock Stuff */
  389. struct lm_lockstruct sd_lockstruct;
  390. struct list_head sd_reclaim_list;
  391. spinlock_t sd_reclaim_lock;
  392. wait_queue_head_t sd_reclaim_wq;
  393. atomic_t sd_reclaim_count;
  394. struct gfs2_holder sd_live_gh;
  395. struct gfs2_glock *sd_rename_gl;
  396. struct gfs2_glock *sd_trans_gl;
  397. /* Inode Stuff */
  398. struct inode *sd_master_dir;
  399. struct inode *sd_jindex;
  400. struct inode *sd_inum_inode;
  401. struct inode *sd_statfs_inode;
  402. struct inode *sd_ir_inode;
  403. struct inode *sd_sc_inode;
  404. struct inode *sd_qc_inode;
  405. struct inode *sd_rindex;
  406. struct inode *sd_quota_inode;
  407. /* Inum stuff */
  408. struct mutex sd_inum_mutex;
  409. /* StatFS stuff */
  410. spinlock_t sd_statfs_spin;
  411. struct mutex sd_statfs_mutex;
  412. struct gfs2_statfs_change sd_statfs_master;
  413. struct gfs2_statfs_change sd_statfs_local;
  414. unsigned long sd_statfs_sync_time;
  415. /* Resource group stuff */
  416. u64 sd_rindex_vn;
  417. spinlock_t sd_rindex_spin;
  418. struct mutex sd_rindex_mutex;
  419. struct list_head sd_rindex_list;
  420. struct list_head sd_rindex_mru_list;
  421. struct list_head sd_rindex_recent_list;
  422. struct gfs2_rgrpd *sd_rindex_forward;
  423. unsigned int sd_rgrps;
  424. /* Journal index stuff */
  425. struct list_head sd_jindex_list;
  426. spinlock_t sd_jindex_spin;
  427. struct mutex sd_jindex_mutex;
  428. unsigned int sd_journals;
  429. unsigned long sd_jindex_refresh_time;
  430. struct gfs2_jdesc *sd_jdesc;
  431. struct gfs2_holder sd_journal_gh;
  432. struct gfs2_holder sd_jinode_gh;
  433. struct gfs2_holder sd_ir_gh;
  434. struct gfs2_holder sd_sc_gh;
  435. struct gfs2_holder sd_qc_gh;
  436. /* Daemon stuff */
  437. struct task_struct *sd_scand_process;
  438. struct task_struct *sd_recoverd_process;
  439. struct task_struct *sd_logd_process;
  440. struct task_struct *sd_quotad_process;
  441. struct task_struct *sd_glockd_process[GFS2_GLOCKD_MAX];
  442. unsigned int sd_glockd_num;
  443. /* Quota stuff */
  444. struct list_head sd_quota_list;
  445. atomic_t sd_quota_count;
  446. spinlock_t sd_quota_spin;
  447. struct mutex sd_quota_mutex;
  448. unsigned int sd_quota_slots;
  449. unsigned int sd_quota_chunks;
  450. unsigned char **sd_quota_bitmap;
  451. u64 sd_quota_sync_gen;
  452. unsigned long sd_quota_sync_time;
  453. /* Log stuff */
  454. spinlock_t sd_log_lock;
  455. unsigned int sd_log_blks_reserved;
  456. unsigned int sd_log_commited_buf;
  457. unsigned int sd_log_commited_revoke;
  458. unsigned int sd_log_num_gl;
  459. unsigned int sd_log_num_buf;
  460. unsigned int sd_log_num_revoke;
  461. unsigned int sd_log_num_rg;
  462. unsigned int sd_log_num_databuf;
  463. unsigned int sd_log_num_jdata;
  464. unsigned int sd_log_num_hdrs;
  465. struct list_head sd_log_le_gl;
  466. struct list_head sd_log_le_buf;
  467. struct list_head sd_log_le_revoke;
  468. struct list_head sd_log_le_rg;
  469. struct list_head sd_log_le_databuf;
  470. unsigned int sd_log_blks_free;
  471. struct mutex sd_log_reserve_mutex;
  472. u64 sd_log_sequence;
  473. unsigned int sd_log_head;
  474. unsigned int sd_log_tail;
  475. int sd_log_idle;
  476. unsigned long sd_log_flush_time;
  477. struct rw_semaphore sd_log_flush_lock;
  478. struct list_head sd_log_flush_list;
  479. unsigned int sd_log_flush_head;
  480. u64 sd_log_flush_wrapped;
  481. struct list_head sd_ail1_list;
  482. struct list_head sd_ail2_list;
  483. u64 sd_ail_sync_gen;
  484. /* Replay stuff */
  485. struct list_head sd_revoke_list;
  486. unsigned int sd_replay_tail;
  487. unsigned int sd_found_blocks;
  488. unsigned int sd_found_revokes;
  489. unsigned int sd_replayed_blocks;
  490. /* For quiescing the filesystem */
  491. struct gfs2_holder sd_freeze_gh;
  492. struct mutex sd_freeze_lock;
  493. unsigned int sd_freeze_count;
  494. /* Counters */
  495. atomic_t sd_glock_count;
  496. atomic_t sd_glock_held_count;
  497. atomic_t sd_inode_count;
  498. atomic_t sd_reclaimed;
  499. char sd_fsname[GFS2_FSNAME_LEN];
  500. char sd_table_name[GFS2_FSNAME_LEN];
  501. char sd_proto_name[GFS2_FSNAME_LEN];
  502. /* Debugging crud */
  503. unsigned long sd_last_warning;
  504. struct vfsmount *sd_gfs2mnt;
  505. };
  506. #endif /* __INCORE_DOT_H__ */