Re: [RFC][PATCH] inotify 0.9

From: Alan Cox
Date: Thu Sep 16 2004 - 19:40:06 EST


On Gwe, 2004-09-17 at 00:22, Robert Love wrote:
> The thing you are missing is that you absolutely have to pin something
> or you have multiple VFS races. Your bitmap suggestion, while cute,
> really shows a lack of understanding of the problem space.

How many of the races matter. There seem to be several different
problems here and mixing them up might be a mistake.

1. I absolutely need to get the right file at the right moment, please
mass me a descriptor to the file as the user closes it so I always get
it right (indexer, virus checker)

2. If something happens bug me and I'll have a look (eg file manager)

Also it varies between "This file" and "everything in this subtree".
An indexer for example really wants to know "this file, this path" for
entire subtrees and to index the right object (if the path changes thats
less of an issue).

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/