From 334a16b804e086a72ab5ca02021da6c14d4a26d8 Mon Sep 17 00:00:00 2001 From: ketmar Date: Tue, 30 Jul 2013 15:28:32 +0000 Subject: [PATCH] fusedrv: more info in "/:/info" FossilOrigin-Name: d987cc0e4f38e5b938cd7b802a4baaec8e0aa9fe73b1faeb46bbcf543c69cb73 --- src/fusedrv/fusedrv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fusedrv/fusedrv.c b/src/fusedrv/fusedrv.c index 396617b..f3281a8 100644 --- a/src/fusedrv/fusedrv.c +++ b/src/fusedrv/fusedrv.c @@ -168,7 +168,9 @@ static filehandle_t *colon_create_info_file (const char *path) { fh->fd = -1; fh->data = calloc(8192, 1); //snprintf(fh->data, 8192, "files: %d; otags: %d; ntags: %d\n", HASH_COUNT(file_name_hash), HASH_COUNT(tagv_hash_o), HASH_COUNT(tagv_hash_t)); - snprintf(fh->data, 8192, "files: %d; tags: %d\n", HASH_COUNT(sname_hash), HASH_COUNT(tval_hash)); + snprintf(fh->data, 8192, "files: %d; tags: %d; opened dirs: %d; reload deferred: %d\n", HASH_COUNT(sname_hash), HASH_COUNT(tval_hash), + tfs_dirs_opened, tfs_need_reload + ); fh->size = strlen(fh->data); } return fh; -- 2.11.4.GIT