[CRIU] [PATCH 0/2] zdtm: file-locks01 -- Fix device numbering on btrfs
Andrew Vagin
avagin at odin.com
Fri Sep 4 08:45:39 PDT 2015
Acked-by: Andrew Vagin <avagin at odin.com>
On Fri, Sep 04, 2015 at 04:43:47PM +0300, Cyrill Gorcunov wrote:
> It turned out that when running on btrfs we can't fetch the proer
> number of device we're mounted on until mountinfo parsed.
>
> avagin@ proposed to use /proc/@fd/fdinfo instead but it seems
> at moment it's not yet merged into sock fedora kernel so i cherry
> picked a few snipets from criu source code to zdtm itself.
>
> Please take a look once time permit.
>
> Cyrill Gorcunov (2):
> zdtm: Add filesystem specific helpers
> test: file_locks -- Use device from mountinfo for BTRFS
>
> test/zdtm/lib/fs.c | 87 ++++++++++++++++++++++++++++++++++++
> test/zdtm/lib/fs.h | 46 +++++++++++++++++++
> test/zdtm/live/static/file_locks01.c | 25 +++++++++--
> 3 files changed, 155 insertions(+), 3 deletions(-)
>
> --
> 2.4.3
>
More information about the CRIU
mailing list