*
* Copyright (C) 2006 Cluster File Systems, Inc.
* Author: Mike Pershin <tappro@clusterfs.com>
- *
+ *
* This file is part of the Lustre file system, http://www.lustre.org
* Lustre is a trademark of Cluster File Systems, Inc.
*
#include <lustre_net.h>
#include <obd.h>
#include <md_object.h>
+
struct mdc_cli_desc {
- struct obd_connect_data cl_conn_data;
+ struct lustre_handle cl_conn;
+ /* uuid of remote MDT to connect */
+ struct obd_uuid cl_srv_uuid;
+ /* mdc uuid */
struct obd_uuid cl_cli_uuid;
+ /* export of mdc obd */
struct obd_export *cl_exp;
};
struct md_device mc_md_dev;
/* other MD servers in cluster */
struct list_head mc_linkage;
- __u32 mc_num;
+ mdsno_t mc_num;
struct mdc_cli_desc mc_desc;
};
return container_of0(ld, struct mdc_device, mc_md_dev.md_lu_dev);
}
-struct lu_object *mdc_object_alloc(const struct lu_context *,
+struct lu_object *mdc_object_alloc(const struct lu_env *,
const struct lu_object_header *,
struct lu_device *);
+#ifdef HAVE_SPLIT_SUPPORT
+int mdc_send_page(struct cmm_device *cmm, const struct lu_env *env,
+ struct md_object *mo, struct page *page, __u32 end,
+ struct md_ucred *uc);
+#endif
+
#endif /* __KERNEL__ */
#endif /* _CMM_MDC_INTERNAL_H */