diff options
author | Ludovic Pouzenc <ludovic.pouzenc@univ-jfc.fr> | 2015-08-21 17:54:11 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic.pouzenc@univ-jfc.fr> | 2015-08-21 17:54:11 +0200 |
commit | 2a5966a6517e3e99062c5796200389fb591091f6 (patch) | |
tree | c19c9989814212899ce1d3821d89cc717ac805c8 /mydisks.py | |
parent | 0028794b08c1deba0554d4a90bbace69cde599ca (diff) | |
download | raidguessfs-2a5966a6517e3e99062c5796200389fb591091f6.tar.gz raidguessfs-2a5966a6517e3e99062c5796200389fb591091f6.tar.bz2 raidguessfs-2a5966a6517e3e99062c5796200389fb591091f6.zip |
Adding RAID 5+0 support, memory fixes and improovements for big disks
Diffstat (limited to 'mydisks.py')
-rw-r--r-- | mydisks.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -74,8 +74,9 @@ class MyDisks(): def is_readable(self,disk_no,offset,size): - import random - return random.randint(0,100) > 1 # FIXME : implement this (parse ddrescue log files) + return True + #import random + #return random.randint(0,100) > 1 # FIXME : implement this (parse ddrescue log files) def read(self,disk_no,offset,size): self.disks[disk_no].seek(offset) |