发明名称 Listener event consistency points
摘要 Implementations are provided herein for sending event notifications based on modifications to files and/or directories. When a file is read, modified or changed under the conditions for a registered event notification, a consistency point can be established. An impact list can then be determined based on the target. It can then be determined whether the version of event caches associated with the files and folders identified in the impact list match a global event cache version determined at the time of the consistency point. If the event caches are an old version, the system call can be restarted, and the event caches can be rebuilt to the current version. If the event caches of the impact list are current, the file system operation can be performed, and notifications can be sent based on the set of listeners identified within the current set of event caches.
申请公布号 US9418097(B1) 申请公布日期 2016.08.16
申请号 US201414227388 申请日期 2014.03.27
申请人 EMC Corporation 发明人 Chmelev Dmitri;Hestilow Rachel J.;Husted Justin M.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人 Evans Sean M.;Gupta Krishnendu
主权项 1. A method comprising: receiving a file system operation associated with a target, wherein the target includes at least one of a target file and a target directory; in response to the receiving, establishing a notification consistency point based on a current global event cache version; determining an impact list based on the file system operation and the target, wherein the impact list includes a set of files and directories impacted by the file system operation; validating a set of event caches associated with members of the impact list; in response to the validating the set of event caches failing: restarting a system call associated with the file system operation, wherein restarting the system call preserves the impact list;rebuilding the set of event caches based on walking up a directory tree associated with members of the impact list; andupdating the set of event caches as valid; establishing a set of listeners based on the set of event caches; performing the file system operation; and sending a set of notifications based on the set of listeners.
地址 Hopkinton MA US