On 08/22/18 09:54, Michael Kelley (EOSG) wrote:
From: Jens Axboe <axboe@xxxxxxxxx> Sent: Wednesday, August 22, 2018 8:49 AM
On 8/22/18 9:47 AM, Michael Kelley (EOSG) wrote:
Any special configuration needed to run this test? Any options needs on
command line? I figured out to enable CONFIG_BLK_DEV_ZONED, but
now I get the following on my 4.18.3 kernel:
root@MHKfio2:~# ./fio/t/zbd/run-tests-against-zoned-nullb
./fio/t/zbd/run-tests-against-zoned-nullb: line 27: ./fio/t/zbd/test-zbd-support: No such file or
directory
/sys/kernel/config/nullb/nullb0/* and /dev/nullb0 are present as expected.
You need current -git from Linus, the zoned null_blk support was added
after 4.18.
So grab the linux-next tree, or are you referring to something else? In my
4.18.3 tree, the source file drivers/block/null_blk_zoned.c is there and builds.
My advice is to grab Linus' latest tree
(https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/).
Linus' tree works fine on my test setups but I have not yet tested
linux-next. You need the following two commits that are not yet in
kernel v4.18:
* ca4b2a011948 ("null_blk: add zone support")
* 76f17d8ba1cb ("block: Rename the null_blk_mod kernel module back into
null_blk")
Bart.