Author: kpvdr
Date: 2008-04-08 17:24:31 -0400 (Tue, 08 Apr 2008)
New Revision: 1874
Modified:
store/trunk/cpp/lib/JournalImpl.h
store/trunk/cpp/lib/jrnl/jcntl.hpp
Log:
Fixes to instrumentation - creation of new persistent queues did not show num files and
filesize; also no activity on outstanding AIO depth counters.
Modified: store/trunk/cpp/lib/JournalImpl.h
===================================================================
--- store/trunk/cpp/lib/JournalImpl.h 2008-04-08 21:03:59 UTC (rev 1873)
+++ store/trunk/cpp/lib/JournalImpl.h 2008-04-08 21:24:31 UTC (rev 1874)
@@ -99,7 +99,7 @@
const journal::rd_aio_cb rd_cb, const journal::wr_aio_cb wr_cb);
inline void initialize(const u_int16_t num_jfiles, const u_int32_t
jfsize_sblks) {
- jcntl::initialize(num_jfiles, jfsize_sblks, 0, &aio_wr_callback);
+ initialize(num_jfiles, jfsize_sblks, 0, &aio_wr_callback);
}
void recover(const u_int16_t num_jfiles, const u_int32_t jfsize_sblks,
Modified: store/trunk/cpp/lib/jrnl/jcntl.hpp
===================================================================
--- store/trunk/cpp/lib/jrnl/jcntl.hpp 2008-04-08 21:03:59 UTC (rev 1873)
+++ store/trunk/cpp/lib/jrnl/jcntl.hpp 2008-04-08 21:24:31 UTC (rev 1874)
@@ -599,8 +599,8 @@
inline u_int32_t unflushed_dblks() { return _wmgr.unflushed_dblks(); }
// Management instrumentation callbacks
- inline void instr_incr_outstanding_aio_cnt() {}
- inline void instr_decr_outstanding_aio_cnt() {}
+ inline virtual void instr_incr_outstanding_aio_cnt() {}
+ inline virtual void instr_decr_outstanding_aio_cnt() {}
Show replies by date