Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1589637

Re: [RFC 0/3] fs,epoll: Add ability to call kcmp to find target files

From Cyrill Gorcunov <gorcunov@gmail.com>
Newsgroups linux.kernel
Subject Re: [RFC 0/3] fs,epoll: Add ability to call kcmp to find target files
Date 2017-02-28 18:20 +0100
Message-ID <tfTBo-7wT-11@gated-at.bofh.it> (permalink)
References <tdmgy-5z4-25@gated-at.bofh.it> <tdpo7-7FL-25@gated-at.bofh.it> <tdpHr-7P4-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[RFC 0/3] fs,epoll: Add ability to call kcmp to find target files Cyrill Gorcunov <gorcunov@openvz.org> - 2017-02-21 18:20 +0100
  Re: [RFC 0/3] fs,epoll: Add ability to call kcmp to find target files Jason Baron <jbaron@akamai.com> - 2017-02-21 21:40 +0100
    Re: [RFC 0/3] fs,epoll: Add ability to call kcmp to find target files Cyrill Gorcunov <gorcunov@gmail.com> - 2017-02-21 22:00 +0100
      Re: [RFC 0/3] fs,epoll: Add ability to call kcmp to find target files Cyrill Gorcunov <gorcunov@gmail.com> - 2017-02-28 18:20 +0100

csiph-web