diff options
Diffstat (limited to 'fs/exofs/exofs.h')
-rw-r--r-- | fs/exofs/exofs.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/fs/exofs/exofs.h b/fs/exofs/exofs.h index 2e08859a89e8..c35fd4623986 100644 --- a/fs/exofs/exofs.h +++ b/fs/exofs/exofs.h | |||
@@ -37,6 +37,11 @@ | |||
37 | #include <linux/time.h> | 37 | #include <linux/time.h> |
38 | #include "common.h" | 38 | #include "common.h" |
39 | 39 | ||
40 | /* FIXME: Remove once pnfs hits mainline | ||
41 | * #include <linux/exportfs/pnfs_osd_xdr.h> | ||
42 | */ | ||
43 | #include "pnfs.h" | ||
44 | |||
40 | #define EXOFS_ERR(fmt, a...) printk(KERN_ERR "exofs: " fmt, ##a) | 45 | #define EXOFS_ERR(fmt, a...) printk(KERN_ERR "exofs: " fmt, ##a) |
41 | 46 | ||
42 | #ifdef CONFIG_EXOFS_DEBUG | 47 | #ifdef CONFIG_EXOFS_DEBUG |
@@ -54,7 +59,6 @@ | |||
54 | * our extension to the in-memory superblock | 59 | * our extension to the in-memory superblock |
55 | */ | 60 | */ |
56 | struct exofs_sb_info { | 61 | struct exofs_sb_info { |
57 | struct osd_dev *s_dev; /* returned by get_osd_dev */ | ||
58 | struct exofs_fscb s_fscb; /* Written often, pre-allocate*/ | 62 | struct exofs_fscb s_fscb; /* Written often, pre-allocate*/ |
59 | osd_id s_pid; /* partition ID of file system*/ | 63 | osd_id s_pid; /* partition ID of file system*/ |
60 | int s_timeout; /* timeout for OSD operations */ | 64 | int s_timeout; /* timeout for OSD operations */ |
@@ -63,7 +67,11 @@ struct exofs_sb_info { | |||
63 | spinlock_t s_next_gen_lock; /* spinlock for gen # update */ | 67 | spinlock_t s_next_gen_lock; /* spinlock for gen # update */ |
64 | u32 s_next_generation; /* next gen # to use */ | 68 | u32 s_next_generation; /* next gen # to use */ |
65 | atomic_t s_curr_pending; /* number of pending commands */ | 69 | atomic_t s_curr_pending; /* number of pending commands */ |
66 | uint8_t s_cred[OSD_CAP_LEN]; /* all-powerful credential */ | 70 | uint8_t s_cred[OSD_CAP_LEN]; /* credential for the fscb */ |
71 | |||
72 | struct pnfs_osd_data_map data_map; /* Default raid to use */ | ||
73 | unsigned s_numdevs; /* Num of devices in array */ | ||
74 | struct osd_dev *s_ods[1]; /* Variable length, minimum 1 */ | ||
67 | }; | 75 | }; |
68 | 76 | ||
69 | /* | 77 | /* |