Whamcloud - gitweb
LU-11591 llog: add synchronization for the last record
[fs/lustre-release.git] / lustre / include / lustre_log.h
index aa0a0b5..d47d990 100644 (file)
@@ -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 {