Messages in this thread | | | Date | Mon, 22 Dec 2008 12:01:49 +0300 | From | Evgeniy Polyakov <> | Subject | Re: [RFC PATCH -v4 12/14] fsnotify: add correlations between events |
| |
On Sun, Dec 21, 2008 at 09:40:01PM -0500, Eric Paris (eparis@redhat.com) wrote: > anyone who uses inotify think there would be a problem with cookie reuse > coming this soon?
In my experience we only care about cookies to be the same, and not monotinically grow up. So this may just jump up and down, and since events are potentially distributed in time (although follow one after another), wrapping should roughly cover number of processes running (and potentially renaming objects), so having 20 bits for the counter and 12 for the CPU id should be enough for now.
-- Evgeniy Polyakov
| |