Re: [PATCH] inotify: add hook to catch fsync/msync events

From: Rik van Riel
Date: Mon Mar 30 2009 - 14:28:58 EST


Simo Sorce wrote:

An external application that is interested to know if a database file has
changed (in a meaningful way), would have no other way but to listen for
IN_SYNC events.

Normal inotify tells the listener "something changed".

IN_SYNC tells the listeners "there is new, useful data".

Because this new inotify signal gives the listener more
useful information than the existing inotify paths, at
least for your use case, I believe the patch makes
perfect sense and should be merged.

Signed-off-by: Simo Sorce <ssorce@xxxxxxxxxx>

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>

--
All rights reversed.
--
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/