• Pavel Emelyanov's avatar
    tty: Change the order of collection · 081a3126
    Pavel Emelyanov authored
    There are two object for TTY files -- the file itself and tty_info.
    The latter is effectively an inode image. Right now we collect infos
    before files, so that latter can find former and attach to it.
    
    In order to move tty files on generic file entry we need to collect
    files very early, much earlier, that infos. So here's the patch that
    changes the order of tty file vs info collection.
    
    The general idea is -- when collecting files put them in a list and
    when an info arrives it walks that list and attaches ttys to self.
    Next patches will also add some optimization available with that
    scheme.
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    081a3126
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...