util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] libblkid: recognize Micron mpool formatted devices
@ 2017-11-14  0:45 jgroves
  2017-11-14  0:45 ` [PATCH 1/2] Add simple crc32c() function jgroves
  2017-11-14  0:45 ` [PATCH 2/2] Add support for Micron mpool formatted drives jgroves
  0 siblings, 2 replies; 4+ messages in thread
From: jgroves @ 2017-11-14  0:45 UTC (permalink / raw)
  To: Karel Zak; +Cc: util-linux, John, John Groves

From: John Groves <jgroves@micron.com>

This patch adds libblkid recognition of Micron mpool formatted devices.
It also adds a very simple crc32c() function, for use by probe_mpool().

If there are objections to adding crc32c, I can re-submit without it, or
make it static for probe_mpool(). I would prefer not to go without crc32c
validation, because the only remaining check would be the magic number.

Review comments and/or questions welcome.

Thanks,

John Groves (2):
  Add simple crc32c() function
  Add support for Micron mpool formatted drives

 include/crc32c.h                       |   9 +++
 lib/Makemodule.am                      |   1 +
 lib/crc32c.c                           | 102 +++++++++++++++++++++++++++++++++
 libblkid/src/Makemodule.am             |   1 +
 libblkid/src/superblocks/mpool.c       |  74 ++++++++++++++++++++++++
 libblkid/src/superblocks/superblocks.c |   3 +-
 libblkid/src/superblocks/superblocks.h |   1 +
 7 files changed, 190 insertions(+), 1 deletion(-)
 create mode 100644 include/crc32c.h
 create mode 100644 lib/crc32c.c
 create mode 100644 libblkid/src/superblocks/mpool.c

-- 
2.9.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-14 10:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-14  0:45 [PATCH 0/2] libblkid: recognize Micron mpool formatted devices jgroves
2017-11-14  0:45 ` [PATCH 1/2] Add simple crc32c() function jgroves
2017-11-14  0:45 ` [PATCH 2/2] Add support for Micron mpool formatted drives jgroves
2017-11-14 10:02   ` Karel Zak

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).