#define OBD_ECHO_DEVICENAME "obdecho"
#define OBD_ECHO_CLIENT_DEVICENAME "echo_client"
+/* The persistent object (i.e. actually stores stuff!) */
+#define ECHO_PERSISTENT_OBJID 1ULL
+#define ECHO_PERSISTENT_SIZE ((__u64)(1<<20))
+
+/* block size to use for data verification */
+#define OBD_ECHO_BLOCK_SIZE (4<<10)
+
struct ec_object {
struct list_head eco_obj_chain;
struct obd_device *eco_device;
struct lov_stripe_md *eco_lsm;
};
-struct ec_open_object {
- struct list_head ecoo_exp_chain;
- struct ec_object *ecoo_object;
- __u64 ecoo_cookie;
- struct obdo ecoo_oa;
- struct obd_client_handle ecoo_och;
-};
-
struct ec_lock {
struct list_head ecl_exp_chain;
struct ec_object *ecl_object;
__u64 ecl_cookie;
struct lustre_handle ecl_lock_handle;
- struct ldlm_extent ecl_extent;
+ ldlm_policy_data_t ecl_policy;
__u32 ecl_mode;
};