[PATCH 04/19] mdadm/clustermd_tests: add nobitmap in check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Zhilong Liu <zlliu@xxxxxxxx>
---
 clustermd_tests/func.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/clustermd_tests/func.sh b/clustermd_tests/func.sh
index 5c0b168..329f610 100644
--- a/clustermd_tests/func.sh
+++ b/clustermd_tests/func.sh
@@ -284,6 +284,13 @@ check()
 					die "$ip: no '$2' found in /proc/mdstat."
 			done
 		;;
+		nobitmap )
+			for ip in ${NODES[@]}
+			do
+				ssh $ip "grep -sq 'bitmap' /proc/mdstat" &&
+					die "$ip: 'bitmap' found in /proc/mdstat."
+			done
+		;;
 		chunk )
 			for ip in ${NODES[@]}
 			do
-- 
2.6.6

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux