diff options
Diffstat (limited to 'subversion/include/private/svn_fs_fs_private.h')
-rw-r--r-- | subversion/include/private/svn_fs_fs_private.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/subversion/include/private/svn_fs_fs_private.h b/subversion/include/private/svn_fs_fs_private.h index 59aede1c7a62..d2573d447c9d 100644 --- a/subversion/include/private/svn_fs_fs_private.h +++ b/subversion/include/private/svn_fs_fs_private.h @@ -53,7 +53,8 @@ typedef struct svn_fs_fs__large_change_info_t /* size of the (deltified) representation */ apr_uint64_t size; - /* Revision of the representation. SVN_INVALID_REVNUM for unused entries. */ + /* Revision of the representation. SVN_INVALID_REVNUM for unused entries. + */ svn_revnum_t revision; /* node path. "" for unused instances */ @@ -151,6 +152,9 @@ typedef struct svn_fs_fs__representation_stats_t /* sum of ref_count * expanded_size, * i.e. total plaintext content if there was no rep sharing */ apr_uint64_t expanded_size; + + /* sum of all representation delta chain lengths */ + apr_uint64_t chain_len; } svn_fs_fs__representation_stats_t; /* Basic statistics we collect over a given set of noderevs. @@ -267,19 +271,20 @@ svn_fs_fs__get_stats(svn_fs_fs__stats_t **stats, apr_pool_t *result_pool, apr_pool_t *scratch_pool); -/* Node-revision IDs in FSFS consist of 3 of sub-IDs ("parts") that consist +/* A node-revision ID in FSFS consists of 3 sub-IDs ("parts") that consist * of a creation REVISION number and some revision- / transaction-local * counter value (NUMBER). Old-style ID parts use global counter values. * * The parts are: node_id, copy_id and txn_id for in-txn IDs as well as - * node_id, copy_id and rev_offset for in-revision IDs. This struct the + * node_id, copy_id and rev_item for in-revision IDs. This struct is the * data structure used for each of those parts. */ typedef struct svn_fs_fs__id_part_t { - /* SVN_INVALID_REVNUM for txns -> not a txn, COUNTER must be 0. - SVN_INVALID_REVNUM for others -> not assigned to a revision, yet. - 0 for others -> old-style ID or the root in rev 0. */ + /* SVN_INVALID_REVNUM for txn_id part -> not a txn, NUMBER must be 0. + SVN_INVALID_REVNUM for other parts -> not assigned to a revision, yet. + 0 for other parts -> old-style ID or the root in rev 0. + */ svn_revnum_t revision; /* sub-id value relative to REVISION. Its interpretation depends on |