From 63bc8919d5c02cf1c1179ed3528a0dfeee8e7454 Mon Sep 17 00:00:00 2001 From: Michael Vrable Date: Sun, 25 Sep 2011 20:40:35 -0700 Subject: [PATCH] Cleaner updates --- cleaner/cleaner | 54 +++++++++++------- .../20110815/.synwrite-2048M-summary.data.swp | Bin 12288 -> 0 bytes .../20110815/.synwrite-256-summary.data.swp | Bin 12288 -> 0 bytes 3 files changed, 33 insertions(+), 21 deletions(-) delete mode 100644 results/20110815/.synwrite-2048M-summary.data.swp delete mode 100644 results/20110815/.synwrite-256-summary.data.swp diff --git a/cleaner/cleaner b/cleaner/cleaner index 60c91f5..9cdba54 100755 --- a/cleaner/cleaner +++ b/cleaner/cleaner @@ -83,6 +83,7 @@ def retry_wrap(method): return method(self, *args, **kwargs) except: print >>sys.stderr, "S3 operation failed, retrying..." + print >>sys.stderr, " %s %s %s" % (method, args, kwargs) self.connect() time.sleep(1.0) return method(self, *args, **kwargs) @@ -98,7 +99,7 @@ class S3Backend(Backend): self.cache = {} for f in os.listdir(cachedir): self.cache[f] = True - print "Initial cache contents:", list(self.cache.keys()) + #print "Initial cache contents:", list(self.cache.keys()) self.connect() self.stats_get = [0, 0] self.stats_put = [0, 0] @@ -284,7 +285,7 @@ class LogDirectory: self.dir_num = dir self.seq_num = 0 for logname in backend.list(dir): - print "Old log file:", logname + #print "Old log file:", logname loc = backend.name_to_loc(logname[0]) if loc is not None and loc[0] == dir: self.seq_num = max(self.seq_num, loc[1] + 1) @@ -443,12 +444,12 @@ class InodeMap: data = data[self.vvsize:] - print "Inode map:" + #print "Inode map:" for i in range(len(data) // 16): (start, end) = struct.unpack_from("XdVuN#kt;IH@w^bCm(R|B>(ste{%}o&rU1$r>EuTYKw8+41(1v zI7F5152-SBSTzh*nq_lVHx{7okvEp`GMV>n4u z7pDnnzY{ogE{Rj69NWZ@TBND?XPQnDj+J2(#iV>W*ji|%Le4j%Epuc?P41#R&2?aosUP(CXQoHE&0Opac3ndR+=?^19Z0oj{pDw diff --git a/results/20110815/.synwrite-256-summary.data.swp b/results/20110815/.synwrite-256-summary.data.swp deleted file mode 100644 index 45ab76c538f9a06380c168418b9064e19715cdea..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI&y>1gh5C`xH)Byw?)j?|8JG0;E=pa(kL5t4#1Qut4eCI@NLPdqr@&vRzLEZw1 zhd`o7bj*>nEuko)b@V@JwDRoU%3gc+wI4lf5!eJ1_(d^0uX=z1Rwwb2tWV=5P$##woss)5PiHu^j)L- z|9|!S|HoaTZyFaGUo_4&PBdO>Jk?;0hZ?sve)jKw((#GLFD>$WRcH%Muw@8900Izz z00bZa0SG_<0yjv&%Fq=0m|+OPN#ex9j`pm%%n!z8^Jc$TUB@2$y^GDJyN!J~&_(TZ zRyF&@(Q&awl_aeXokB7uryOD;ahtTwIeWGumZYapqL>3`k(6yD-V});8xe6`r@mvi+GU%?vgSSY9W|}JtaUDCNs0ad>eHNL -- 2.20.1