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-3698 ptlrpc: skip rpcs that fail ptl_send_rpc
[fs/lustre-release.git]
/
lustre
/
obdclass
/
llog_internal.h
diff --git
a/lustre/obdclass/llog_internal.h
b/lustre/obdclass/llog_internal.h
index
32f3f96
..
e103eec
100644
(file)
--- a/
lustre/obdclass/llog_internal.h
+++ b/
lustre/obdclass/llog_internal.h
@@
-27,7
+27,7
@@
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
* Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved.
* Use is subject to license terms.
*
- * Copyright (c) 2012, Intel Corporation.
+ * Copyright (c) 2012,
2013,
Intel Corporation.
*/
/*
* This file is part of Lustre, http://www.lustre.org/
*/
/*
* This file is part of Lustre, http://www.lustre.org/
@@
-71,6
+71,14
@@
static inline struct llog_thread_info *llog_info(const struct lu_env *env)
return lgi;
}
return lgi;
}
+static inline void
+lustre_build_llog_lvfs_oid(struct llog_logid *logid, __u64 ino, __u32 gen)
+{
+ ostid_set_seq_llog(&logid->lgl_oi);
+ ostid_set_id(&logid->lgl_oi, ino);
+ logid->lgl_ogen = gen;
+}
+
int llog_info_init(void);
void llog_info_fini(void);
int llog_info_init(void);
void llog_info_fini(void);