Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-12275 sec: decryption for read path
[fs/lustre-release.git]
/
lustre
/
obdecho
/
echo_internal.h
diff --git
a/lustre/obdecho/echo_internal.h
b/lustre/obdecho/echo_internal.h
index
474c6dc
..
c1e6871
100644
(file)
--- a/
lustre/obdecho/echo_internal.h
+++ b/
lustre/obdecho/echo_internal.h
@@
-24,7
+24,7
@@
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
- * Copyright (c) 2012,
Whamcloud, Inc
.
+ * Copyright (c) 2012,
2014 Intel Corporation
.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
*/
/*
* This file is part of Lustre, http://www.lustre.org/
@@
-44,9
+44,13
@@
#define OBD_ECHO_BLOCK_SIZE (4<<10)
#ifdef HAVE_SERVER_SUPPORT
#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 */
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)
+
#endif
#endif