diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2020-04-07 10:58:57 +0900 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-04-07 14:47:01 -0600 |
commit | b76949618d557bd63181245aa522ead9b92d274b (patch) | |
tree | 00f2b151976a1db76fb456a6b1b4af561657b1a0 /configure | |
parent | ebc403fe282864eddfd68ab1793f149a1b0eb1cd (diff) | |
download | fio-b76949618d557bd63181245aa522ead9b92d274b.tar.gz fio-b76949618d557bd63181245aa522ead9b92d274b.tar.bz2 |
fio: Generalize zonemode=zbd
Generalize the implementation of the zbd zonemode for non-linux systems
and Linux systems without the blkzoned.h header file (that is, linux
systems with a kernel predating v4.10 or kernels compiled without zoned
block device support).
The configuration option CONFIG_HAS_BLKZONED determines if the system
supports or not zoned block devices. This option can be set for Linux
only for now. If it is set, the file oslib/linux-blkzoned.c is compiled
and the 3 functions defined are used by the zbd.c code to determine a
block device zoned model, get zone information and reset zones.
For systems that do not set the CONFIG_HAS_BLKZONED option,
zonemode=zbd will be useable with regular block devices with the
zbd code emulating zones as is already done currently.
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2862,7 +2862,7 @@ if test "$valgrind_dev" = "yes"; then output_sym "CONFIG_VALGRIND_DEV" fi if test "$linux_blkzoned" = "yes" ; then - output_sym "CONFIG_LINUX_BLKZONED" + output_sym "CONFIG_HAS_BLKZONED" fi if test "$zlib" = "no" ; then echo "Consider installing zlib-dev (zlib-devel, some fio features depend on it." |