Print this page
6214 zpools going south

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/arc.h
          +++ new/usr/src/uts/common/fs/zfs/sys/arc.h
↓ open down ↓ 77 lines elided ↑ open up ↑
  78   78          ARC_FLAG_INDIRECT               = 1 << 12,      /* indirect block */
  79   79          ARC_FLAG_L2_WRITING             = 1 << 13,      /* write in progress */
  80   80          ARC_FLAG_L2_EVICTED             = 1 << 14,      /* evicted during I/O */
  81   81          ARC_FLAG_L2_WRITE_HEAD          = 1 << 15,      /* head of write list */
  82   82          /* indicates that the buffer contains metadata (otherwise, data) */
  83   83          ARC_FLAG_BUFC_METADATA          = 1 << 16,
  84   84  
  85   85          /* Flags specifying whether optional hdr struct fields are defined */
  86   86          ARC_FLAG_HAS_L1HDR              = 1 << 17,
  87   87          ARC_FLAG_HAS_L2HDR              = 1 << 18,
  88      -
  89      -        /*
  90      -         * The arc buffer's compression mode is stored in the top 7 bits of the
  91      -         * flags field, so these dummy flags are included so that MDB can
  92      -         * interpret the enum properly.
  93      -         */
  94      -        ARC_FLAG_COMPRESS_0             = 1 << 24,
  95      -        ARC_FLAG_COMPRESS_1             = 1 << 25,
  96      -        ARC_FLAG_COMPRESS_2             = 1 << 26,
  97      -        ARC_FLAG_COMPRESS_3             = 1 << 27,
  98      -        ARC_FLAG_COMPRESS_4             = 1 << 28,
  99      -        ARC_FLAG_COMPRESS_5             = 1 << 29,
 100      -        ARC_FLAG_COMPRESS_6             = 1 << 30
 101      -
 102   88  } arc_flags_t;
 103   89  
 104   90  struct arc_buf {
 105   91          arc_buf_hdr_t           *b_hdr;
 106   92          arc_buf_t               *b_next;
 107   93          kmutex_t                b_evict_lock;
 108   94          void                    *b_data;
 109   95          arc_evict_func_t        *b_efunc;
 110   96          void                    *b_private;
 111   97  };
↓ open down ↓ 80 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX