The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at g...@bitbucket.org:openvz/vzkernel.git after rh9-5.14.0-427.44.1.vz9.80.4 ------> commit c97311bd2513e7185071e243a3cb67261d44bb27 Author: Alexey Kuznetsov <kuz...@virtuozzo.com> Date: Sat Jan 18 02:09:13 2025 +0800
fs/fuse/kio: extend ktrace protocol to carry aux info This is only protocol definition. This extension is backward compatible way to transfer additional information in ktrace messages. The extension is especially important for libpcs_blog and vstorage-mount, but here we are going to use it to log more detailed timings and cpu affinity information. Signed-off-by: Alexey Kuznetsov <kuz...@virtuozzo.com> Feature: vStorage --- fs/fuse/kio/pcs/fuse_ktrace_prot.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/fs/fuse/kio/pcs/fuse_ktrace_prot.h b/fs/fuse/kio/pcs/fuse_ktrace_prot.h index 3c985f92c8c6..53356c7cfddc 100644 --- a/fs/fuse/kio/pcs/fuse_ktrace_prot.h +++ b/fs/fuse/kio/pcs/fuse_ktrace_prot.h @@ -47,4 +47,20 @@ struct fuse_tr_iotimes_cs __u32 ts_io; }; +struct fuse_tr_iotimes_aux { + __u32 ts_dio; + __u8 cpus[4]; +}; + +#define FUSE_TR_ATTR_MAGIC 0xF8AC +#define FUSE_TR_ATTR_PAD 0 +#define FUSE_TR_ATTR_NAME 1 +#define FUSE_TR_ATTR_AUX 2 + +struct fuse_tr_attr { + __u16 magic; + __u16 type; + __u32 len; +}; + #endif /* _FUSE_KTRACE_PROT_H_ */ _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel