[Devel] [PATCH RHEL9 COMMIT] fs/fuse kio: correct data types in tracing calls
Konstantin Khorenko
khorenko at virtuozzo.com
Thu Jul 28 14:06:51 MSK 2022
The commit is pushed to "branch-rh9-5.14.0-70.13.1.vz9.16.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh9-5.14.0-70.13.1.vz9.16.5
------>
commit d3223819f2de73e66996838cd8f72d7e0a2c42a7
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date: Wed Jul 27 21:38:17 2022 +0300
fs/fuse kio: correct data types in tracing calls
Fixes: 0ac98b8d4e3c8 ("fuse kio: logging improvements")
Signed-off-by: Alexey Kuznetsov <kuznet at acronis.com>
---
fs/fuse/kio/pcs/pcs_map.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/fuse/kio/pcs/pcs_map.c b/fs/fuse/kio/pcs/pcs_map.c
index ec7cf13e3b1c..856c31679257 100644
--- a/fs/fuse/kio/pcs/pcs_map.c
+++ b/fs/fuse/kio/pcs/pcs_map.c
@@ -2828,13 +2828,13 @@ static int sync_is_finished(struct pcs_msg * msg, struct pcs_map_entry * m)
srec++) {
int i;
- FUSE_KDTRACE(cc_from_maps(m->maps)->fc, "Checking cs="NODE_FMT" sync=[%d,%d,%d,%d]", NODE_ARGS(srec->cs_id), srec->sync.integrity_seq,
+ FUSE_KDTRACE(cc_from_maps(m->maps)->fc, "Checking cs="NODE_FMT" sync=[%u,%u,%u,%u]", NODE_ARGS(srec->cs_id), srec->sync.integrity_seq,
srec->sync.sync_epoch,
srec->sync.sync_dirty, srec->sync.sync_current);
for (i = 0; i < m->cs_list->nsrv; i++) {
if (m->cs_list->cs[i].info.id.val == srec->cs_id.val) {
- FUSE_KDTRACE(cc_from_maps(m->maps)->fc, "Checking against sync=[%d,%d,%d,%d,%d]",
+ FUSE_KDTRACE(cc_from_maps(m->maps)->fc, "Checking against sync=[%u,%u,%u,%u,%u]",
m->cs_list->cs[i].sync.dirty_integrity,
m->cs_list->cs[i].sync.dirty_epoch,
m->cs_list->cs[i].sync.dirty_seq,
@@ -2991,7 +2991,7 @@ static void prepare_map_flush_msg(struct pcs_map_entry * m, struct pcs_int_reque
arr->sync.ts_net = 0;
arr->sync._reserved = 0;
varsize += sizeof(struct pcs_cs_sync_resp);
- FUSE_KLOG(cc_from_maps(m->maps)->fc, LOG_DEBUG5, "fill sync "NODE_FMT" [%d,%d,%d,%d]", NODE_ARGS(arr->cs_id),
+ FUSE_KLOG(cc_from_maps(m->maps)->fc, LOG_DEBUG5, "fill sync "NODE_FMT" [%u,%u,%u,%u]", NODE_ARGS(arr->cs_id),
arr->sync.integrity_seq, arr->sync.sync_epoch,
arr->sync.sync_dirty, arr->sync.sync_current);
arr++;
More information about the Devel
mailing list