Print this page
3966 zfs lz4 compression (etc) should have bumped grub capability VERSION

Split Close
Expand all
Collapse all
          --- old/usr/src/grub/grub-0.97/stage2/fsys_zfs.c
          +++ new/usr/src/grub/grub-0.97/stage2/fsys_zfs.c
↓ open down ↓ 952 lines elided ↑ open up ↑
 953  953                  return (ERR_FILESYSTEM_NOT_FOUND);
 954  954  
 955  955          *obj = objnum;
 956  956          return (0);
 957  957  }
 958  958  
 959  959  /*
 960  960   * List of pool features that the grub implementation of ZFS supports for
 961  961   * read. Note that features that are only required for write do not need
 962  962   * to be listed here since grub opens pools in read-only mode.
      963 + *
      964 + * When this list is updated the version number in usr/src/grub/capability
      965 + * must be incremented to ensure the new grub gets installed.
 963  966   */
 964  967  static const char *spa_feature_names[] = {
 965  968          "org.illumos:lz4_compress",
 966  969          NULL
 967  970  };
 968  971  
 969  972  /*
 970  973   * Checks whether the MOS features that are active are supported by this
 971  974   * (GRUB's) implementation of ZFS.
 972  975   *
↓ open down ↓ 823 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX