Print this page
%B

Split Close
Expand all
Collapse all
          --- old/usr/src/grub/grub-0.97/stage2/zfs-include/zio.h
          +++ new/usr/src/grub/grub-0.97/stage2/zfs-include/zio.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   *  GNU General Public License for more details.
  14   14   *
  15   15   *  You should have received a copy of the GNU General Public License
  16   16   *  along with this program; if not, write to the Free Software
  17   17   *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18   18   */
  19   19  /*
  20   20   * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  21   21   * Use is subject to license terms.
  22   22   */
       23 +/*
       24 + * Copyright 2013 by Saso Kiselkov. All rights reserved.
       25 + */
  23   26  
  24   27  #ifndef _ZIO_H
  25   28  #define _ZIO_H
  26   29  
  27   30  #define ZEC_MAGIC       0x210da7ab10c7a11ULL    /* zio data bloc tail */
  28   31  
  29   32  typedef struct zio_eck {
  30   33          uint64_t        zec_magic;      /* for validation, endianness   */
  31   34          zio_cksum_t     zec_cksum;      /* 256-bit checksum             */
  32   35  } zio_eck_t;
↓ open down ↓ 33 lines elided ↑ open up ↑
  66   69          ZIO_CHECKSUM_ZILOG2,
  67   70          ZIO_CHECKSUM_FUNCTIONS
  68   71  };
  69   72  
  70   73  enum zio_compress {
  71   74          ZIO_COMPRESS_INHERIT = 0,
  72   75          ZIO_COMPRESS_ON,
  73   76          ZIO_COMPRESS_OFF,
  74   77          ZIO_COMPRESS_LZJB,
  75   78          ZIO_COMPRESS_EMPTY,
       79 +        ZIO_COMPRESS_GZIP_1,
       80 +        ZIO_COMPRESS_GZIP_2,
       81 +        ZIO_COMPRESS_GZIP_3,
       82 +        ZIO_COMPRESS_GZIP_4,
       83 +        ZIO_COMPRESS_GZIP_5,
       84 +        ZIO_COMPRESS_GZIP_6,
       85 +        ZIO_COMPRESS_GZIP_7,
       86 +        ZIO_COMPRESS_GZIP_8,
       87 +        ZIO_COMPRESS_GZIP_9,
       88 +        ZIO_COMPRESS_ZLE,
       89 +        ZIO_COMPRESS_LZ4,
  76   90          ZIO_COMPRESS_FUNCTIONS
  77   91  };
  78   92  
  79   93  #endif  /* _ZIO_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX