X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Finclude%2Flinux%2Fobd_ost.h;h=215e8b1d9dea41e1e0cc0fedfc6cbde1114bc751;hb=e8fc23a5e634768ed079d9e7e22c0805d4afd392;hp=e1c8f92bf5e7a7a9fb035c27a67ee0d2d470c4bb;hpb=867f92a22c4dae8b8c5d26b6c94150691d22e4a6;p=fs%2Flustre-release.git diff --git a/lustre/include/linux/obd_ost.h b/lustre/include/linux/obd_ost.h index e1c8f92..215e8b1 100644 --- a/lustre/include/linux/obd_ost.h +++ b/lustre/include/linux/obd_ost.h @@ -31,12 +31,21 @@ #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