• Kirill Tkhai's avatar
    files: Kill fd_open_state::receive_fd stage · 11811248
    Kirill Tkhai authored
    Since "receive" stage is used only for slave fds
    and nobody depends on slave fds receiving is finished,
    we may move it functionality in "post_open" stage.
    This just makes slave fds to be received a little bit later.
    
    In other words, only masters have post_open stage,
    and only slaves have receive stage. So, in the case of
    A and B files:
    
    A->open
    B->open
    A->recv
    A->post_open
    B->recv
    B->post_open
    
    A->post_open can't depend on B->recv. This follows
    just from analyzing of all file types post_open methods.
    
    travis-ci: success for Rework file opening scheme to make it asynchronous (rev5)
    Signed-off-by: 's avatarKirill Tkhai <ktkhai@virtuozzo.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    11811248
Name
Last commit
Last update
Documentation 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.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...