[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2427: handle case when directory is removed from drop upload directory
Tahoe-LAFS
trac at tahoe-lafs.org
Sat May 23 18:49:35 UTC 2015
#2427: handle case when directory is removed from drop upload directory
-------------------------+-----------------------
Reporter: dawuud | Owner: daira
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: 1.10.0
Resolution: | Keywords:
Launchpad Bug: |
-------------------------+-----------------------
Comment (by daira):
It seems as though the `IN_EXCL_UNLINK` flag would help with this:
{{{
IN_EXCL_UNLINK (since Linux 2.6.36)
By default, when watching events on the children of a
directory, events are generated for children even after
they have been unlinked from the directory. This can
result in large numbers of uninteresting events for some
applications (e.g., if watching /tmp, in which many
applications create temporary files whose names are
immediately unlinked). Specifying IN_EXCL_UNLINK changes
the default behavior, so that events are not generated for
children after they have been unlinked from the watched
directory.
}}}
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2427#comment:1>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list