[tahoe-lafs-trac-stream] [tahoe-lafs] #1430: drop-upload: handle inotify queue overflow correctly
tahoe-lafs
trac at tahoe-lafs.org
Sat Jul 16 18:57:45 PDT 2011
#1430: drop-upload: handle inotify queue overflow correctly
---------------------------------+----------------------------
Reporter: davidsarah | Owner: davidsarah
Type: defect | Status: new
Priority: major | Milestone: eventually
Component: code-frontend | Version: 1.8.2
Keywords: drop-upload inotify | Launchpad Bug:
---------------------------------+----------------------------
The inotify API has a maximum number of queued events, controlled by
{{{/proc/sys/fs/inotify/max_queued_events}}}. This could affect the
reliability of the drop-upload feature (#1429) in detecting all file-
change events when a large number of files in the local directory are
modified. In principle it could detect this using the IN_Q_OVERFLOW event,
and rescan all files in the directory to see whether they were last-
modified since the timestamp of the previous event (assuming that we trust
the last-modified timestamps).
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1430>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list