From 4dde8b8a42d34893425425458c77ba0453dc7966 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Tue, 9 Jun 2020 00:52:00 +0300 Subject: [PATCH] Oops, fix fio_sec_osd block_order parsing --- fio_sec_osd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fio_sec_osd.cpp b/fio_sec_osd.cpp index 1430c23a..7070f469 100644 --- a/fio_sec_osd.cpp +++ b/fio_sec_osd.cpp @@ -150,7 +150,7 @@ static int sec_init(struct thread_data *td) { sec_options *o = (sec_options*)td->eo; sec_data *bsd = (sec_data*)td->io_ops_data; - bsd->block_order = o->block_order; + bsd->block_order = o->block_order == 0 ? 17 : o->block_order; bsd->block_size = 1 << o->block_order; struct sockaddr_in addr;