[CRIU] [PATCH] pre-dump: avoid sleeping in the open() syscall

Andrew Vagin avagin at parallels.com
Wed Mar 12 04:06:40 PDT 2014


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? ;)


More information about the CRIU mailing list