Whamcloud - gitweb
LU-12678 lnet: convert lpni_refcount to a kref
[fs/lustre-release.git] / lustre / obdecho / echo_internal.h
index 469d68e..ed5e556 100644 (file)
 #define OBD_ECHO_BLOCK_SIZE    (4<<10)
 
 #ifdef HAVE_SERVER_SUPPORT
-extern struct obd_ops echo_obd_ops;
+extern const struct obd_ops echo_obd_ops;
 extern struct lu_device_type echo_srv_type;
 int echo_persistent_pages_init(void);
 void echo_persistent_pages_fini(void);
 #endif /* HAVE_SERVER_SUPPORT */
 
+/* mapping value to tell page is not encrypted */
+#define ECHO_MAPPING_UNENCRYPTED ((void *)1)
+
+/* debug.c */
+int block_debug_setup(void *addr, int len, u64 off, u64 id);
+int block_debug_check(char *who, void *addr, int len, u64 off, u64 id);
+
 #endif