util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Damien Le Moal <Damien.LeMoal@wdc.com>
To: Karel Zak <kzak@redhat.com>
Cc: "util-linux@vger.kernel.org" <util-linux@vger.kernel.org>,
	Benno Schulenberg <bensberg@justemail.net>
Subject: Re: [PATCH] libblkid: Add support for zonefs
Date: Wed, 1 Apr 2020 04:44:29 +0000	[thread overview]
Message-ID: <CO2PR04MB2343E47B5AFE242DA2307BB0E7C90@CO2PR04MB2343.namprd04.prod.outlook.com> (raw)
In-Reply-To: 20200323103305.uhlc3d7i4famwq5p@ws.net.home

[-- Attachment #1: Type: text/plain, Size: 1263 bytes --]

On 2020/03/23 19:33, Karel Zak wrote:
> On Fri, Mar 20, 2020 at 01:55:43PM +0900, Damien Le Moal wrote:
>>  libblkid/src/Makemodule.am             |  1 +
>>  libblkid/src/superblocks/superblocks.c |  3 +-
>>  libblkid/src/superblocks/superblocks.h |  1 +
>>  libblkid/src/superblocks/zonefs.c      | 87 ++++++++++++++++++++++++++
>>  4 files changed, 91 insertions(+), 1 deletion(-)
>>  create mode 100644 libblkid/src/superblocks/zonefs.c
> 
> Applied (with a small change), thanks.
> 
>> +struct zonefs_super {
>> +
>> +	/* Magic number */
>> +	__le32		s_magic;
> 
> We use standard integer types rather than this kernel-ism ;-) Fixed.
> 
> It would be nice to have a test image for zonefs, something small what
> we can add to tests/ts/blkid/images-fs/ ;-)

Hi Karel,

Please find attached the zonefs.img.xz file for a small (4 MB uncompressed)
image of a zonefs file system. I tested it with the blkid run in
tests/ts/blkid/low-probe and it works. I am not sure if other tests are run
against FS images as I have not dig into the test suite (I should !).

If this is OK, please feel free to add the image to tests/ts/blkid/images-fs/.

Best regards.

> 
> 
>     Karel
> 


-- 
Damien Le Moal
Western Digital Research

[-- Attachment #2: zonefs.img.xz --]
[-- Type: application/octet-stream, Size: 784 bytes --]

  parent reply	other threads:[~2020-04-01  4:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-20  4:55 [PATCH] libblkid: Add support for zonefs Damien Le Moal
2020-03-23 10:33 ` Karel Zak
2020-03-23 10:38   ` Damien Le Moal
2020-04-01  4:44   ` Damien Le Moal [this message]
2020-04-06 13:35     ` Karel Zak

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=CO2PR04MB2343E47B5AFE242DA2307BB0E7C90@CO2PR04MB2343.namprd04.prod.outlook.com \
    --to=damien.lemoal@wdc.com \
    --cc=bensberg@justemail.net \
    --cc=kzak@redhat.com \
    --cc=util-linux@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).