Whamcloud - gitweb
Update snap
[fs/lustre-release.git] / lustre / include / linux / obd_ost.h
index e1c8f92..215e8b1 100644 (file)
 
 #define LUSTRE_OST_NAME "ost"
 #define LUSTRE_OSC_NAME "osc"
+#define LUSTRE_SANOSC_NAME "sanosc"
+#define LUSTRE_SANOST_NAME "sanost"
 
-/* ost/ost_pack.c */
-void ost_pack_niobuf(void **tmp, void *addr, __u64 offset, __u32 len, 
-                     __u32 flags, __u32 xid);
-void ost_unpack_niobuf(void **tmp, struct niobuf **nbp);
-void ost_pack_ioo(void **tmp, struct obdo *oa, int bufcnt);
-void ost_unpack_ioo(void **tmp, struct obd_ioobj **ioop);
+struct osc_brw_async_args {
+        struct obdo     *aa_oa;
+        int              aa_requested_nob;
+        int              aa_nio_count;
+        obd_count        aa_page_count;
+        struct brw_page *aa_pga;
+        struct client_obd *aa_cli;
+        struct list_head aa_oaps;
+};
+
+struct osc_getattr_async_args {
+        struct obdo     *aa_oa;
+};
 
 #endif