From 4f776f42bb7312591fec9731bd2661eb7659c998 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 8 Aug 2016 20:52:00 +0000 Subject: [PATCH 1/2] scst/README.dlm: Update startup sequence information git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6931 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/README.dlm | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/scst/README.dlm b/scst/README.dlm index 56597a149..698602907 100644 --- a/scst/README.dlm +++ b/scst/README.dlm @@ -85,8 +85,9 @@ Startup and Shutdown -------------------- The startup sequence is as follows: -* Load and configure SCST with cluster_mode = 0 and with all target ports - disabled. +* Load the DLM kernel module. If not loaded explicitly, "modprobe scst" will + load the DLM kernel module implicitly. +* Load and configure SCST with all target ports disabled. * Enable cluster mode for all SCST devices that can be accessed through more than one cluster node: for x in /sys/kernel/scst_tgt/handlers/*/*/; do @@ -103,10 +104,17 @@ The startup sequence is as follows: crmadmin -S "$dc" 2>/dev/null | sed 's/^Status of crmd@[^[:blank:]]*:[[:blank:]]\([^[:blank:]]*\).*/\1/' } - for ((i=0;i<300;i++)); do - [ "$(pacemaker_dc_status)" = "S_IDLE" ] && break + timeout=300 + for ((i=0;i Date: Tue, 9 Aug 2016 20:18:03 +0000 Subject: [PATCH 2/2] srpt/Testing.txt: Leave out --norandommap --verify and --norandommap are mutually exclusive. Hence leave out --norandommap. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6932 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/Testing.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srpt/Testing.txt b/srpt/Testing.txt index cfd6d09f9..86dfe40ac 100644 --- a/srpt/Testing.txt +++ b/srpt/Testing.txt @@ -37,8 +37,8 @@ At least the following tests must be run before releasing a new SRPT version: rm -rf /mnt/test* && \ fio --verify=md5 -rw=randwrite --size=10m --bs=4k \ --loops=1000000 --iodepth=64 --group_reporting --sync=1 --direct=1 \ - --norandommap --ioengine=aio --directory=/mnt --name=test --thread \ - --numjobs=80 --runtime=30 && \ + --ioengine=aio --directory=/mnt --name=test --thread --numjobs=80 \ + --runtime=30 && \ fsck -N $dev do true