The following changes since commit fab60fa78a1832c17f8bb200292ded4a8b3eb2a5: Merge branch 'arm-detect-pmull' of https://github.com/sitsofe/fio (2021-12-06 13:26:52 -0700) are available in the Git repository at: git://git.kernel.dk/fio.git master for you to fetch changes up to 79eb6c9a17de959d72ee51c601b2764225101282: ioengines: libzbc: disable libzbc block backend driver (2021-12-09 21:34:21 -0700) ---------------------------------------------------------------- Damien Le Moal (1): ioengines: libzbc: disable libzbc block backend driver engines/libzbc.c | 2 +- t/zbd/run-tests-against-nullb | 14 -------------- 2 files changed, 1 insertion(+), 15 deletions(-) --- Diff of recent changes: diff --git a/engines/libzbc.c b/engines/libzbc.c index abee2043..2bc2c7e0 100644 --- a/engines/libzbc.c +++ b/engines/libzbc.c @@ -85,7 +85,7 @@ static int libzbc_open_dev(struct thread_data *td, struct fio_file *f, return -ENOMEM; ret = zbc_open(f->file_name, - flags | ZBC_O_DRV_BLOCK | ZBC_O_DRV_SCSI | ZBC_O_DRV_ATA, + flags | ZBC_O_DRV_SCSI | ZBC_O_DRV_ATA, &ld->zdev); if (ret) { log_err("%s: zbc_open() failed, err=%d\n", diff --git a/t/zbd/run-tests-against-nullb b/t/zbd/run-tests-against-nullb index db901179..7d2c7fa8 100755 --- a/t/zbd/run-tests-against-nullb +++ b/t/zbd/run-tests-against-nullb @@ -19,7 +19,6 @@ usage() echo -e "\t-L List the device layouts for every section without running" echo -e "\t tests." echo -e "\t-s <#section> Only run the section with the given number." - echo -e "\t-l Use libzbc ioengine to run the tests." echo -e "\t-t <#test> Only run the test with the given number in every section." echo -e "\t-o <max_open_zones> Specify MaxOpen value, (${set_max_open} by default)." echo -e "\t-n <#number of runs> Set the number of times to run the entire suite " @@ -239,7 +238,6 @@ dev_size=1024 dev_blocksize=4096 set_max_open=8 zbd_test_opts=() -libzbc=0 num_of_runs=1 test_case=0 quit_on_err=0 @@ -250,7 +248,6 @@ while (($#)); do -o) set_max_open="${2}"; shift; shift;; -L) list_only=1; shift;; -r) cleanup_nullb; exit 0;; - -l) libzbc=1; shift;; -n) num_of_runs="${2}"; shift; shift;; -t) test_case="${2}"; shift; shift;; -q) quit_on_err=1; shift;; @@ -311,17 +308,6 @@ while ((run_nr <= $num_of_runs)); do exit 1 fi show_nullb_config - if ((libzbc)); then - if ((zone_capacity < zone_size)); then - echo "libzbc doesn't support zone capacity, skipping section $(printf "%02d" $section_number)" - continue - fi - if ((conv_pcnt == 100)); then - echo "libzbc only supports zoned devices, skipping section $(printf "%02d" $section_number)" - continue - fi - zbd_test_opts+=("-l") - fi cd "${scriptdir}" ((intr)) && exit 1 ((list_only)) && continue