[Devel] [PATCH RHEL7 COMMIT] fs/fuse kio: correct data types in tracing calls
Konstantin Khorenko
khorenko at virtuozzo.com
Wed Jul 27 22:02:05 MSK 2022
The commit is pushed to "branch-rh7-3.10.0-1160.66.1.vz7.188.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-1160.66.1.vz7.188.4
------>
commit ec8cea6d87e7302732797793f784e16fffb5deb8
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 a69c77fea7db2..0a7714bd5b588 100644
--- a/fs/fuse/kio/pcs/pcs_map.c
+++ b/fs/fuse/kio/pcs/pcs_map.c
@@ -2818,13 +2818,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,
@@ -2981,7 +2981,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