From 5943acb92ce0159e9f482748e4fa4aadddae6851 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Fri, 12 Jun 2015 08:34:26 +0200 Subject: Initial import. RAID 5 xor parity checking is working, data reading on left-assymetric RAID 5 is working. Nothing done on other RAID types. --- tools/pattern.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 tools/pattern.py (limited to 'tools') diff --git a/tools/pattern.py b/tools/pattern.py new file mode 100755 index 0000000..0367698 --- /dev/null +++ b/tools/pattern.py @@ -0,0 +1,12 @@ +#!/usr/bin/env python + +def main(): + i=0 + max=pow(10,15) + while True: + print "%015d"%i, + i=(i+1)%max + + +if __name__ == '__main__': + main() -- cgit v1.2.3