Re: [PATCH 04/12] fsnotify: support overlayfs

2016-09-16 Thread Amir Goldstein
On Fri, Sep 16, 2016 at 7:38 PM, Jan Kara wrote: > On Fri 16-09-16 14:19:23, Miklos Szeredi wrote: >> From: Aihua Zhang >> >> When an event occurs direct it to the overlay inode instead of the real >> underlying inode. >> >> This will work even if the file was first on the lower layer and then >>

Re: [PATCH 04/12] fsnotify: support overlayfs

2016-09-16 Thread Jan Kara
On Fri 16-09-16 14:19:23, Miklos Szeredi wrote: > From: Aihua Zhang > > When an event occurs direct it to the overlay inode instead of the real > underlying inode. > > This will work even if the file was first on the lower layer and then > copied up, while the watch is there. This is because th

[PATCH 04/12] fsnotify: support overlayfs

2016-09-16 Thread Miklos Szeredi
From: Aihua Zhang When an event occurs direct it to the overlay inode instead of the real underlying inode. This will work even if the file was first on the lower layer and then copied up, while the watch is there. This is because the watch is on the overlay inode, which stays the same through