[tahoe-lafs-trac-stream] [tahoe-lafs] #1432: drop-upload on Mac OS X and other BSDs (was: drop-upload on Mac OS X)
tahoe-lafs
trac at tahoe-lafs.org
Sat Jul 16 19:21:50 PDT 2011
#1432: drop-upload on Mac OS X and other BSDs
-------------------------------+------------------------------------------
Reporter: davidsarah | Owner:
Type: defect | Status: new
Priority: major | Milestone: undecided
Component: code-frontend | Version: 1.8.2
Resolution: | Keywords: drop-upload fsevents mac bsd
Launchpad Bug: |
-------------------------------+------------------------------------------
Changes (by davidsarah):
* keywords: drop-upload fsevents mac => drop-upload fsevents mac bsd
Old description:
> The drop-upload feature (#1429) uses inotify to detect filesystem
> changes, and therefore works only on Linux. This ticket is about
> supporting the same feature on Mac OS X, probably using
> [http://en.wikipedia.org/wiki/FSEvents fsevents]. However, fsevents does
> not give notifications of which files have changed, so the implementation
> will have to scan the directory and look at last-modified times to
> determine that. (This is occasionally also necessary for correctness on
> Linux; see #1430.)
New description:
The drop-upload feature (#1429) uses inotify to detect filesystem changes,
and therefore works only on Linux. This ticket is about supporting the
same feature on Mac OS X and possibly other BSD-based operating systems.
Mac OS X has the [http://en.wikipedia.org/wiki/FSEvents fsevents], and all
BSDs including Mac OS X have kqueue/kevent. If I understand correctly,
neither fsevents nor kqueue/kevent give notifications of which files have
changed, so the implementation will have to scan the directory and look at
last-modified times to determine that. (This is occasionally also
necessary for correctness on Linux; see #1430.)
--
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1432#comment:1>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list