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-11591 llog: add synchronization for the last record
[fs/lustre-release.git]
/
lustre
/
include
/
lustre_log.h
diff --git
a/lustre/include/lustre_log.h
b/lustre/include/lustre_log.h
index
aa0a0b5
..
d47d990
100644
(file)
--- a/
lustre/include/lustre_log.h
+++ b/
lustre/include/lustre_log.h
@@
-268,6
+268,7
@@
struct llog_handle {
* case, after it will have reached LLOG_HDR_BITMAP_SIZE, llh_cat_idx
* will become its upper limit */
int lgh_last_idx;
+ struct rw_semaphore lgh_last_sem;
__u64 lgh_cur_offset; /* used for test only */
struct llog_ctxt *lgh_ctxt;
union {