summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Rettberg2023-11-29 14:48:49 +0100
committerSimon Rettberg2023-11-29 14:48:49 +0100
commit9b4a3da3762713772352b898b4d74183903b51b5 (patch)
tree0568010bb1bb729d43ac400ae7165f7898b6f808 /src
parentAdd missing CONFIG_DEBUG_FS checks (diff)
downloadxloop-9b4a3da3762713772352b898b4d74183903b51b5.tar.gz
xloop-9b4a3da3762713772352b898b4d74183903b51b5.tar.xz
xloop-9b4a3da3762713772352b898b4d74183903b51b5.zip
Add debug spam
Diffstat (limited to 'src')
-rw-r--r--src/kernel/xloop_file_fmt_qcow_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/xloop_file_fmt_qcow_main.c b/src/kernel/xloop_file_fmt_qcow_main.c
index ee1a990..62b83e0 100644
--- a/src/kernel/xloop_file_fmt_qcow_main.c
+++ b/src/kernel/xloop_file_fmt_qcow_main.c
@@ -1007,6 +1007,7 @@ static int __qcow_file_fmt_read_compressed(struct xloop_file_fmt *xlo_fmt, struc
if (qcow_data->cmp_last_coffset != coffset) {
int csize, nb_csectors;
+ dev_dbg(xloop_file_fmt_to_dev(xlo_fmt), "caching cluster at %llu\n", coffset);
nb_csectors = ((file_cluster_offset >> qcow_data->csize_shift) & qcow_data->csize_mask) + 1;
csize = nb_csectors * QCOW_COMPRESSED_SECTOR_SIZE - (coffset & ~QCOW_COMPRESSED_SECTOR_MASK);
in_buf = vmalloc(csize);