diff --git a/crates/subspace-farmer/src/disk_piece_cache.rs b/crates/subspace-farmer/src/disk_piece_cache.rs
index 3456de2b40..26bead4f27 100644
--- a/crates/subspace-farmer/src/disk_piece_cache.rs
+++ b/crates/subspace-farmer/src/disk_piece_cache.rs
@@ -27,7 +27,7 @@ use subspace_farmer_components::file_ext::FileExt;
use thiserror::Error;
use tokio::runtime::Handle;
use tokio::task;
-use tracing::{debug, info, warn};
+use tracing::{debug, info, warn, Span};
/// How many pieces should be skipped before stopping to check the rest of contents, this allows to
/// not miss most of the pieces after one or two corrupted pieces
@@ -129,7 +129,10 @@ impl farm::PieceCache for DiskPieceCache {
> {
let this = self.clone();
let (mut sender, receiver) = mpsc::channel(100_000);
+ let span = Span::current();
let read_contents = task::spawn_blocking(move || {
+ let _guard = span.enter();
+
let contents = this.contents();
for (piece_cache_offset, maybe_piece) in contents {
if let Err(error) =
@@ -175,8 +178,13 @@ impl farm::PieceCache for DiskPieceCache {
offset: PieceCacheOffset,
) -> Result