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-10198 llog: keep llog handle alive until last reference
[fs/lustre-release.git]
/
lustre
/
include
/
lustre_log.h
diff --git
a/lustre/include/lustre_log.h
b/lustre/include/lustre_log.h
index
ae37da4
..
d58ddd8
100644
(file)
--- a/
lustre/include/lustre_log.h
+++ b/
lustre/include/lustre_log.h
@@
-283,9
+283,10
@@
struct llog_handle {
char *lgh_name;
void *private_data;
struct llog_operations *lgh_logops;
char *lgh_name;
void *private_data;
struct llog_operations *lgh_logops;
-
atomic_t
lgh_refcount;
+
refcount_t
lgh_refcount;
int lgh_max_size;
int lgh_max_size;
+ bool lgh_destroyed;
};
/* llog_osd.c */
};
/* llog_osd.c */