From 057bc4a6587d99088bfe4da28f43501212137ad4 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 29 Nov 2017 19:29:25 -0700 Subject: [PATCH] examples/rand-zones.fio: add zoned_abs example Signed-off-by: Jens Axboe --- examples/rand-zones.fio | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/rand-zones.fio b/examples/rand-zones.fio index da13fa37..169137d4 100644 --- a/examples/rand-zones.fio +++ b/examples/rand-zones.fio @@ -10,6 +10,14 @@ rw=randread norandommap random_distribution=zoned:50/5:30/15:20/ +# It's also possible to use zoned_abs to specify absolute sizes. For +# instance, if you do: +# +# random_distribution=zoned_abs:50/10G:30/100G:20/500G +# +# Then 50% of the access will be to the first 10G of the drive, 30% +# will be to the next 100G, and 20% will be to the next 500G. + # The above applies to all of reads/writes/trims. If we wanted to do # something differently for writes, let's say 50% for the first 10% # and 50% for the remaining 90%, we could do it by adding a new section -- 2.25.1