diff options
author | Keith Bostic <keith.bostic@wiredtiger.com> | 2011-07-28 16:05:39 -0400 |
---|---|---|
committer | Keith Bostic <keith.bostic@wiredtiger.com> | 2011-07-28 16:05:39 -0400 |
commit | 7d1911d53a1e031cd70bfa918b7ba2668e6fb24a (patch) | |
tree | ac5a24ada28e4061e018326dbfed174e8e029776 /src/os_posix/os_fsync.c | |
parent | eb02441e9fbb4bc085e0f1de0a5250e4623b7227 (diff) | |
download | mongo-7d1911d53a1e031cd70bfa918b7ba2668e6fb24a.tar.gz |
Connect the old Btree statistics code to the statistics cursors: if you
create a file: cursor, you can configure it as a "statistics" cursor if
you want to display statistics for a particular file, or you can open
"statistics" cursor if you want to display statistics for the system in
general.
Move to two stat groups: WT_CONNECTION and WT_BTREE (the old cache stats
moved into the connection stats), the old btree file stats moved into
the btree stats, I deleted the file handle stats.
Delete the db/db_stat file, the parts of it that are still used moved
to btree/bt_stat.c.
Rename "stat" cursors to be "statistics" cursors.
Turn the Python dist/stat_class.py Stat class into a list, I couldn't
get dictionaries to sort by value for some reason.
Diffstat (limited to 'src/os_posix/os_fsync.c')
-rw-r--r-- | src/os_posix/os_fsync.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/os_posix/os_fsync.c b/src/os_posix/os_fsync.c index 154519a7c6b..302f9f13a84 100644 --- a/src/os_posix/os_fsync.c +++ b/src/os_posix/os_fsync.c @@ -15,8 +15,6 @@ int __wt_fsync(WT_SESSION_IMPL *session, WT_FH *fh) { - WT_STAT_INCR(fh->stats, fsync); - WT_VERBOSE(session, FILEOPS, "fileops: %s: fsync", fh->name); if (fsync(fh->fd) == 0) |