From edb785dc131730ab388962f29c4bc97e4b50fa06 Mon Sep 17 00:00:00 2001 From: Christophe Vu-Brugier Date: Mon, 12 Sep 2022 14:17:49 +0200 Subject: [PATCH] examples: fix bandwidth logs generation in disk-zone-profile.fio Because the job name is set to "/dev/sdb", the bandwidth logs are written to /dev/sdb_bw.1.log which is unexpected. This commit changes the job name to "disk-zone-profile" so that the bandwidth logs are written to "disk-zone-profile_bw.1.log". Moreover, the `log_offset` option is enabled to log the I/O offset. This is required to plot the HDD zones. Signed-off-by: Christophe Vu-Brugier --- examples/disk-zone-profile.fio | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/disk-zone-profile.fio b/examples/disk-zone-profile.fio index 010252f0..577820eb 100644 --- a/examples/disk-zone-profile.fio +++ b/examples/disk-zone-profile.fio @@ -10,6 +10,8 @@ iodepth=2 zonemode=strided zonesize=256m zoneskip=2g -write_bw_log -[/dev/sdb] +[disk-zone-profile] +filename=/dev/sdb +write_bw_log +log_offset=1 -- 2.25.1