• Cyrill Gorcunov's avatar
    fsnotify: open_handle -- Handle multiple mounts with same s_dev · e6537f3d
    Cyrill Gorcunov authored
    When inotify is laying on uovermounted fs we should walk over
    all mountpoints with same s_dev to find openable path.
    
    Note on restore the path is usually already allocated during
    dump stage so get_mark_path won't call for open_handle(), in
    turn on dump stage the positive return from open_handle()
    will cause fsnotify engine to find openable path, thus there
    is kind of double work to be optimized in future.
    
    For example we got a container where systemd-udevd inside
    opens inotify for /dev/X entry then overmount ./dev path
    with slave option and in result irmap engine on predump
    can't figure out where the inotify is sitting causing
    migrtion to abort.
    Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@virtuozzo.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    e6537f3d
Name
Last commit
Last update
Documentation Loading commit data...
compel Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.compel Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...