public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Cyrill Gorcunov <gorcunov@gmail.com>
To: Jason Baron <jbaron@akamai.com>
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-api@vger.kernel.org, viro@zeniv.linux.org.uk,
	akpm@linuxfoundation.org, avagin@virtuozzo.com,
	xemul@virtuozzo.com, mtk.manpages@gmail.com, kir@openvz.org,
	luto@amacapital.net
Subject: Re: [RFC 0/3] fs,epoll: Add ability to call kcmp to find target files
Date: Tue, 28 Feb 2017 20:11:14 +0300	[thread overview]
Message-ID: <20170228171114.GB28817@uranus.lan> (raw)
In-Reply-To: <20170221205434.GD27653@uranus>

On Tue, Feb 21, 2017 at 11:54:34PM +0300, Cyrill Gorcunov wrote:
> 
> I think it should be ebough (together with sdev and pos). But will
> look more closely tomorrow once I sit implementing criu support :)
> (that's why it is early rfc, to gather comments)

FWIW, yes, it is enough for primary sorting key. Once it matches
the key from other anon block we use kcmp call to find exact
match (kid_epoll_lookup lookups over primary keys generated by
inode/sdev/pos, and then using kcmp we walk over files)

https://github.com/cyrillos/criu/blob/epoll-tgt-3/criu/kcmp-ids.c#L158

	Cyrill

      reply	other threads:[~2017-02-28 17:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-21 16:59 [RFC 0/3] fs,epoll: Add ability to call kcmp to find target files Cyrill Gorcunov
2017-02-21 20:32 ` Jason Baron
2017-02-21 20:54   ` Cyrill Gorcunov
2017-02-28 17:11     ` Cyrill Gorcunov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170228171114.GB28817@uranus.lan \
    --to=gorcunov@gmail.com \
    --cc=akpm@linuxfoundation.org \
    --cc=avagin@virtuozzo.com \
    --cc=jbaron@akamai.com \
    --cc=kir@openvz.org \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@amacapital.net \
    --cc=mtk.manpages@gmail.com \
    --cc=viro@zeniv.linux.org.uk \
    --cc=xemul@virtuozzo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox