Thread (24 messages) 24 messages, 3 authors, 2019-01-17

Re: [PATCH blktests v2 04/16] common: Introduce _have_fio_zbd_zonemode() helper function

From: Shinichiro Kawasaki <hidden>
Date: 2019-01-17 06:21:17

On 1/17/19 11:23 AM, Omar Sandoval wrote:
On Thu, Jan 10, 2019 at 06:37:13PM +0900, Shin'ichiro Kawasaki wrote:
quoted
Fio zbd zone mode is necessary for zoned block devices. Introduce the
helper function _have_fio_zbd_zonemode() to check that the installed
fio version supports the option --zonemode=zbd.
Testing version numbers is fragile. How about

if ! fio --cmdhelp=zonemode | grep -q zbd; then
	SKIP_REASON="Fio version too old (does not support --zonemode=zbd)"
	return 1
fi
OK. Will change as suggested. Thanks!

-- 
Best Regards,
Shin'ichiro Kawasaki
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help