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-5092 nodemap: remove nodemap_idx_action, only act on MGS
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
nodemap_internal.h
diff --git
a/lustre/ptlrpc/nodemap_internal.h
b/lustre/ptlrpc/nodemap_internal.h
index
0676aa7
..
f447eef
100644
(file)
--- a/
lustre/ptlrpc/nodemap_internal.h
+++ b/
lustre/ptlrpc/nodemap_internal.h
@@
-110,6
+110,7
@@
static inline __u32 nm_idx_set_type(unsigned int id, enum nodemap_idx_type t)
return (id & NM_TYPE_MASK) | (t << NM_TYPE_SHIFT);
}
+void nodemap_config_set_active(struct nodemap_config *config);
struct lu_nodemap *nodemap_create(const char *name,
struct nodemap_config *config,
bool is_default);