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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux