examples: fix bandwidth logs generation in disk-zone-profile.fio
authorChristophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Mon, 12 Sep 2022 12:17:49 +0000 (14:17 +0200)
committerChristophe Vu-Brugier <christophe.vu-brugier@seagate.com>
Mon, 12 Sep 2022 12:36:36 +0000 (14:36 +0200)
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 <christophe.vu-brugier@seagate.com>
examples/disk-zone-profile.fio

index 010252f087fee02b73b0f8ce6b1e8e62980483c3..577820ebe7818823fc9ff69c863048fb7b54bde5 100644 (file)
@@ -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