Print this page
4185 New hash algorithm support

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/zio.h
          +++ new/usr/src/uts/common/fs/zfs/sys/zio.h
↓ open down ↓ 73 lines elided ↑ open up ↑
  74   74          ZIO_CHECKSUM_ON,
  75   75          ZIO_CHECKSUM_OFF,
  76   76          ZIO_CHECKSUM_LABEL,
  77   77          ZIO_CHECKSUM_GANG_HEADER,
  78   78          ZIO_CHECKSUM_ZILOG,
  79   79          ZIO_CHECKSUM_FLETCHER_2,
  80   80          ZIO_CHECKSUM_FLETCHER_4,
  81   81          ZIO_CHECKSUM_SHA256,
  82   82          ZIO_CHECKSUM_ZILOG2,
  83   83          ZIO_CHECKSUM_NOPARITY,
       84 +        ZIO_CHECKSUM_SHA512,
       85 +        ZIO_CHECKSUM_SKEIN,
       86 +        ZIO_CHECKSUM_EDONR,
  84   87          ZIO_CHECKSUM_FUNCTIONS
  85   88  };
  86   89  
  87   90  #define ZIO_CHECKSUM_ON_VALUE   ZIO_CHECKSUM_FLETCHER_4
  88   91  #define ZIO_CHECKSUM_DEFAULT    ZIO_CHECKSUM_ON
  89   92  
  90   93  #define ZIO_CHECKSUM_MASK       0xffULL
  91   94  #define ZIO_CHECKSUM_VERIFY     (1 << 8)
  92   95  
  93   96  #define ZIO_DEDUPCHECKSUM       ZIO_CHECKSUM_SHA256
↓ open down ↓ 494 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX