[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170228171114.GB28817@uranus.lan>
Date: Tue, 28 Feb 2017 20:11:14 +0300
From: Cyrill Gorcunov <gorcunov@...il.com>
To: Jason Baron <jbaron@...mai.com>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-api@...r.kernel.org, viro@...iv.linux.org.uk,
akpm@...uxfoundation.org, avagin@...tuozzo.com,
xemul@...tuozzo.com, mtk.manpages@...il.com, kir@...nvz.org,
luto@...capital.net
Subject: Re: [RFC 0/3] fs,epoll: Add ability to call kcmp to find target files
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
Powered by blists - more mailing lists