Print this page
OS-1566 filesystem limits for ZFS datasets

Split Close
Expand all
Collapse all
          --- old/usr/src/common/zfs/zfs_prop.h
          +++ new/usr/src/common/zfs/zfs_prop.h
↓ open down ↓ 26 lines elided ↑ open up ↑
  27   27  #ifndef _ZFS_PROP_H
  28   28  #define _ZFS_PROP_H
  29   29  
  30   30  #include <sys/fs/zfs.h>
  31   31  #include <sys/types.h>
  32   32  
  33   33  #ifdef  __cplusplus
  34   34  extern "C" {
  35   35  #endif
  36   36  
       37 +#define MAXLIMIT        ((uint64_t)-1)
       38 +
  37   39  /*
  38   40   * For index types (e.g. compression and checksum), we want the numeric value
  39   41   * in the kernel, but the string value in userland.
  40   42   */
  41   43  typedef enum {
  42   44          PROP_TYPE_NUMBER,       /* numeric value */
  43   45          PROP_TYPE_STRING,       /* string value */
  44   46          PROP_TYPE_INDEX         /* numeric value indexed by string */
  45   47  } zprop_type_t;
  46   48  
↓ open down ↓ 85 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX