Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Sep 27, 2023

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit a142e0df6c1483a76d92ff7f9d8c07242af9910e:

Merge branch 'fio_client_server_doc_fix' of https://github.com/pcpartpicker/fio (2023-09-20 07:41:17 -0400)

are available in the Git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to 996ac91f54844e63ef43092472fc1f7610567b67:

t/zbd: set mq-deadline scheduler to device-mapper destination devices (2023-09-26 09:00:13 -0400)

----------------------------------------------------------------
Shin'ichiro Kawasaki (1):
t/zbd: set mq-deadline scheduler to device-mapper destination devices

 t/zbd/functions        | 11 +++++++++
 t/zbd/test-zbd-support | 61 +++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 71 insertions(+), 1 deletion(-)

---

Diff of recent changes:

t/zbd/functions +11 -0
index 4faa45a9..028df404 100644
@@ -27,6 +27,17 @@ blkzone_reports_capacity() {
 		"${blkzone}" report -c 1 -o 0 "${dev}" | grep -q 'cap '
 }
 
+has_command() {
+	local cmd="${1}"
+
+	cmd_path=$(type -p "${cmd}" 2>/dev/null)
+	if [ -z "${cmd_path}" ]; then
+		echo "${cmd} is not available"
+		return 1
+	fi
+	return 0
+}
+
 # Whether or not $1 (/dev/...) is a NVME ZNS device.
 is_nvme_zns() {
 	local s
t/zbd/test-zbd-support +60 -1

73 lines not on this page · raw message