[CRIU] [PATCH] pre-dump: avoid sleeping in the open() syscall
Cyrill Gorcunov
gorcunov at gmail.com
Wed Mar 12 04:11:41 PDT 2014
On Wed, Mar 12, 2014 at 03:06:40PM +0400, Andrew Vagin wrote:
> On Wed, Mar 12, 2014 at 02:58:52PM +0400, Cyrill Gorcunov wrote:
> > On Wed, Mar 12, 2014 at 02:43:24PM +0400, Andrey Vagin wrote:
> > > For example opening the FIFO blocks until the other end is opened also.
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > >
> > > We can use O_PATH to avoid sleeping in the open() call.
> > >
> > > Signed-off-by: Andrey Vagin <avagin at openvz.org>
> >
> > Since we need this action for fetching data for irmap only this looks fine.
> > But I wonder which exactly fd caused to hang?
>
> Have you read the commit message? ;)
Kkkkk ;) Sorry. Thanks!
More information about the CRIU
mailing list