Searched refs:shard (Results 1 - 16 of 16) sorted by relevance

/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_x/
H A Drevprops.h116 apr_int64_t shard,
H A Dpack.c1 /* pack.c --- FSX shard packing functionality
145 /* first revision in the shard (and future pack file) */
154 /* first revision after the current shard */
163 /* full shard directory path (containing the unpacked revisions) */
166 /* full packed shard directory path (containing the pack file + indexes) */
233 /* Create and initialize a new pack context for packing shard SHARD_REV in
1910 * Pack the revision shard starting at SHARD_REV in filesystem FS from
2019 apr_int64_t shard,
2028 svn_revnum_t shard_rev = (svn_revnum_t) (shard * max_files_per_dir);
2033 /* Remove any existing pack file for this shard, sinc
2016 pack_rev_shard(svn_fs_t *fs, const char *pack_file_dir, const char *shard_path, apr_int64_t shard, int max_files_per_dir, apr_size_t max_mem, svn_fs_x__batch_fsync_t *batch, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool) argument
2064 pack_shard(const char *dir, svn_fs_t *fs, apr_int64_t shard, int max_files_per_dir, apr_off_t max_pack_size, int compression_level, apr_size_t max_mem, svn_fs_pack_notify_t notify_func, void *notify_baton, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool) argument
[all...]
H A Dhotcopy.c260 const char *shard = apr_psprintf(scratch_pool, "%ld", local
262 src_subdir_shard = svn_dirent_join(src_subdir, shard, scratch_pool);
263 dst_subdir_shard = svn_dirent_join(dst_subdir, shard, scratch_pool);
282 /* Copy a packed shard containing revision REV, and which contains
284 * Update *DST_MIN_UNPACKED_REV in case the shard is new in DST_FS.
286 * Set *SKIPPED_P to FALSE only if at least one part of the shard
304 /* Copy the packed shard. */
367 /* Also require same shard size. */
380 * for every shard by updating the 'current' file if necessary. Assume
446 /* Copy the packed shard
[all...]
H A Drevprops.c378 /* packed shard folder path */
697 /* Determine the dimensions. Rev 0 is excluded from the first shard. */
750 /* Return TRUE, if revision R1 and R2 refer to the same shard in FS.
804 /* Since start & end are in the same shard, it is enough to just test
979 * non-packed shard. If that fails, we will fall through to packed
980 * shard reads. */
996 * try reading them from a packed shard. If that fails, REV is most
1530 /* Iterate over the revisions in this shard, squashing them together. */
1570 apr_int64_t shard,
1600 start_rev = (svn_revnum_t) (shard * max_files_per_di
1566 svn_fs_x__pack_revprops_shard(svn_fs_t *fs, const char *pack_file_dir, const char *shard_path, apr_int64_t shard, int max_files_per_dir, apr_int64_t max_pack_size, int compression_level, svn_fs_x__batch_fsync_t *batch, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool) argument
[all...]
H A Dtransaction.c2057 int count = walk ? 1 : 0; /* The start of a walk already touches a shard. */ local
2058 svn_revnum_t shard, last_shard = ffd->youngest_rev_cache / shard_size;
2067 shard = svn_fs_x__get_revnum(id.change_set) / shard_size;
2068 if (shard != last_shard)
2071 last_shard = shard;
2191 * against a rep in different shard, the lower limit is 512 bytes
2192 * and doubles with every extra shard to visit along the delta
3569 /* Make sure that the shard folder for REVSION exists in FS. If we had to
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_fs/
H A Drevprops.h28 * Otherwise, re-running upgrade will drop the packed revprop shard but
145 * Otherwise, re-running upgrade will drop the packed revprop shard but
156 apr_int64_t shard,
177 apr_int64_t shard,
H A Drevprops.c52 apr_int64_t shard; local
64 for (shard = 0; shard < first_unpacked_shard; ++shard)
71 shard),
74 apr_psprintf(iterpool, "%" APR_INT64_T_FMT, shard),
79 shard, ffd->max_files_per_dir,
86 SVN_ERR(notify_func(notify_baton, shard,
105 apr_int64_t shard; local
114 for (shard
1422 svn_fs_fs__pack_revprops_shard(const char *pack_file_dir, const char *shard_path, apr_int64_t shard, int max_files_per_dir, apr_int64_t max_pack_size, int compression_level, svn_boolean_t flush_to_disk, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool) argument
1544 svn_fs_fs__delete_revprops_shard(const char *shard_path, apr_int64_t shard, int max_files_per_dir, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *scratch_pool) argument
[all...]
H A Dpack.c1 /* pack.c --- FSFS shard packing functionality
150 /* first revision in the shard (and future pack file) */
159 /* first revision after the current shard */
168 /* full shard directory path (containing the unpacked revisions) */
171 /* full packed shard directory path (containing the pack file + indexes) */
241 /* Create and initialize a new pack context for packing shard SHARD_REV in
1539 * Pack the revision shard starting at SHARD_REV in filesystem FS from
1650 svn_revnum_t shard; local
1655 shard = rev / ffd->max_files_per_dir;
1657 /* position of the shard withi
1816 pack_rev_shard(svn_fs_t *fs, const char *pack_file_dir, const char *shard_path, apr_int64_t shard, int max_files_per_dir, apr_size_t max_mem, svn_boolean_t flush_to_disk, svn_cancel_func_t cancel_func, void *cancel_baton, apr_pool_t *pool) argument
1872 apr_int64_t shard; member in struct:pack_baton
[all...]
H A Dhotcopy.c258 const char *shard = apr_psprintf(scratch_pool, "%ld", local
260 src_subdir_shard = svn_dirent_join(src_subdir, shard, scratch_pool);
261 dst_subdir_shard = svn_dirent_join(dst_subdir, shard, scratch_pool);
280 /* Copy a packed shard containing revision REV, and which contains
282 * Update *DST_MIN_UNPACKED_REV in case the shard is new in DST_FS.
284 * Set *SKIPPED_P to FALSE only if at least one part of the shard
305 /* Copy the packed shard. */
398 const char *shard; local
403 /* Pre-compute paths for initial shard. */
404 shard
[all...]
H A Dtransaction.c1987 int count = walk ? 1 : 0; /* The start of a walk already touches a shard. */ local
1988 svn_revnum_t shard, last_shard = ffd->youngest_rev_cache / shard_size;
1996 shard = svn_fs_fs__id_rev(noderev->id) / shard_size;
1997 if (shard != last_shard)
2000 last_shard = shard;
2119 * against a rep in different shard, the lower limit is 512 bytes
2120 * and doubles with every extra shard to visit along the delta
3849 /* Create the shard for the rev and revprop file, if we're sharding and
3850 this is the first revision of a new shard. We don't care if this
3851 fails because the shard alread
[all...]
/freebsd-11-stable/contrib/subversion/subversion/libsvn_repos/
H A Dfs-wrap.c1014 apr_int64_t shard,
1032 notify->shard = shard;
1010 pack_notify_func(void *baton, apr_int64_t shard, svn_fs_pack_notify_action_t pack_action, apr_pool_t *pool) argument
H A Drepos.c1405 notify->shard = number;
1410 notify->shard = number;
H A Ddeprecated.c476 svn_error_clear(pnwb->notify_func(pnwb->notify_baton, notify->shard,
/freebsd-11-stable/contrib/subversion/subversion/svnadmin/
H A Dsvnadmin.c1105 notify->shard);
1107 _("Packing revisions in shard %s..."),
1120 notify->shard);
1122 _("Packing revprops in shard %s..."),
1229 notify->shard);
1231 _("Packed revision properties in shard %s\n"),
1240 notify->shard);
1243 " in shard %s\n"),
1272 if (notify->shard == -1)
/freebsd-11-stable/contrib/subversion/subversion/include/
H A Dsvn_fs.h150 /** String with a decimal representation of the FSFS format shard size.
158 #define SVN_FS_CONFIG_FSFS_SHARD_SIZE "fsfs-shard-size"
387 /** Packing of the revprop shard has completed.
388 * The number parameter is the shard being processed. */
391 /** Removal of the non-packed revprop shard is completed.
392 * The number parameter is the shard being processed */
421 * the operation is still in process but may be called in e.g. random shard
422 * order and more than once for the same shard.
3287 /** packing of the shard has commenced */
3290 /** packing of the shard i
[all...]
H A Dsvn_repos.h193 /** packing of an FSFS shard has commenced */
196 /** packing of an FSFS shard is completed */
199 /** packing of the shard revprops has commenced */
202 /** packing of the shard revprops has completed */
238 /** A revprop shard got packed. @since New in 1.9. */
241 /** A non-packed revprop shard got removed. @since New in 1.9. */
336 #svn_repos_notify_pack_shard_end_revprop, the shard processed. */ member in struct:svn_repos_notify_t
337 apr_int64_t shard;

Completed in 168 milliseconds