[CRIU] [PATCH 2/2] fsnotify: Do not track deleted watchees

Cyrill Gorcunov gorcunov at openvz.org
Tue Feb 25 00:21:06 PST 2014


If the watchee is deleted we might be able to
open in by file handle at checkpoint time but
fail on restore. And since we don't have any kernel's
interface to fetch and restore fsnotify event queue
simply ignore such watchees.

Once fsnotify queue c/r implemented need to revisit
this place.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 fsnotify.c | 38 ++++++++++++++++++++++++++++++++++----
 1 file changed, 34 insertions(+), 4 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-fsnotify-Do-not-track-deleted-watchees.patch
Type: text/x-patch
Size: 2497 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140225/416490fa/attachment.bin>


More information about the CRIU mailing list