From: Alexander Larsson Date: Tue, 20 Oct 2020 13:51:08 +0000 (+0200) Subject: ostree pull: Add more g_debug spew around fetching deltas X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~6^2~14^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=654f3d959a4563ccf7d36182f4ee7a25a70fa016;p=ostree.git ostree pull: Add more g_debug spew around fetching deltas This is useful to debug what is happening when downloading via deltas. --- diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c index 81956d3d..da421db3 100644 --- a/src/libostree/ostree-repo-pull.c +++ b/src/libostree/ostree-repo-pull.c @@ -2145,6 +2145,7 @@ start_fetch_deltapart (OtPullData *pull_data, FetchStaticDeltaData *fetch) { g_autofree char *deltapart_path = _ostree_get_relative_static_delta_part_path (fetch->from_revision, fetch->to_revision, fetch->i); + g_debug ("starting fetch of deltapart %s", deltapart_path); pull_data->n_outstanding_deltapart_fetches++; g_assert_cmpint (pull_data->n_outstanding_deltapart_fetches, <=, _OSTREE_MAX_OUTSTANDING_DELTAPART_REQUESTS); _ostree_fetcher_request_to_tmpfile (pull_data->fetcher, @@ -2608,6 +2609,7 @@ start_fetch_delta_superblock (OtPullData *pull_data, g_autofree char *delta_name = _ostree_get_relative_static_delta_superblock_path (fetch_data->from_revision, fetch_data->to_revision); + g_debug ("starting fetch of delta superblock %s", delta_name); _ostree_fetcher_request_to_membuf (pull_data->fetcher, pull_data->content_mirrorlist, delta_name, OSTREE_FETCHER_REQUEST_OPTIONAL_CONTENT, @@ -2760,6 +2762,7 @@ start_fetch_delta_index (OtPullData *pull_data, { g_autofree char *delta_name = _ostree_get_relative_static_delta_index_path (fetch_data->to_revision); + g_debug ("starting fetch of delta index %s", delta_name); _ostree_fetcher_request_to_membuf (pull_data->fetcher, pull_data->content_mirrorlist, delta_name, OSTREE_FETCHER_REQUEST_OPTIONAL_CONTENT,