search for: zio_checksum_table

Displaying 2 results from an estimated 2 matches for "zio_checksum_table".

Did you mean: zio_checksum_label
2010 Jan 03
2
"zpool import -f" not forceful enough?
I had to use the labelfix hack (and I had to recompile it at that) on 1/2 of an old zpool. I made this change: /* zio_checksum(ZIO_CHECKSUM_LABEL, &zc, buf, size); */ zio_checksum_table[ZIO_CHECKSUM_LABEL].ci_func[0](buf, size, &zc); and I''m assuming [0] is the correct endianness, since afterwards I saw it come up with "zpool import". Unfortunately, I can''t import it. Here''s what happens: # uname -a SunOS neuromancer 5.11 snv_130 i86pc...
2013 Oct 26
2
[PATCH] 1. changes for vdiskadm on illumos based platform
...nst void *s2, size_t n) { - const uint8_t *ps1 = s1; - const uint8_t *ps2 = s2; + const uchar_t *ps1 = s1; + const uchar_t *ps2 = s2; if (s1 != s2 && n != 0) { do { @@ -118,16 +135,16 @@ zio_checksum_off(const void *buf, uint64 /* Checksum Table and Values */ zio_checksum_info_t zio_checksum_table[ZIO_CHECKSUM_FUNCTIONS] = { - { { NULL, NULL }, 0, 0, "inherit" }, - { { NULL, NULL }, 0, 0, "on" }, - { { zio_checksum_off, zio_checksum_off }, 0, 0, "off" }, - { { zio_checksum_SHA256, zio_checksum_SHA256 }, 1, 1, "label" }, - { { zio_checksum_SHA256, zio_c...