[tahoe-dev] [tahoe-lafs] #637: support "keep this much disk space free" on Windows as well as other platforms
tahoe-lafs
trac at allmydata.org
Sat Nov 28 13:55:28 PST 2009
#637: support "keep this much disk space free" on Windows as well as other
platforms
---------------------------------+------------------------------------------
Reporter: zooko | Owner: zooko
Type: defect | Status: new
Priority: major | Milestone: 1.6.0
Component: code-storage | Version: 1.3.0
Keywords: win32 easy reviewed | Launchpad_bug:
---------------------------------+------------------------------------------
Comment(by warner):
It looks like the clause at line 229 (in {{{get_stats}}}) will put a
negative number into {{{storage_server.disk_avail}}}, while I think it
should be clamped at zero. Likewise, {{{get_available_space}}} and thus
{{{remote_get_version}}} will see negative numbers. If #814 is supposed to
be subsumed by this ticket, we'll need to fix that.
Maybe {{{get_disk_stats}}} should clamp the {{{avail}}} value at zero
before returning anything?
--
Ticket URL: <http://allmydata.org/trac/tahoe/ticket/637#comment:34>
tahoe-lafs <http://allmydata.org>
secure decentralized file storage grid
More information about the tahoe-dev
mailing list