[lkml]   [2008]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH -v4 12/14] fsnotify: add correlations between events
On Sun, Dec 21, 2008 at 09:40:01PM -0500, Eric Paris ( 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

 \ /
  Last update: 2008-12-22 10:05    [W:0.068 / U:5.632 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site