Print this page
Possibility to physically reserve space without writing leaf blocks

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 ↓ 298 lines elided ↑ open up ↑
 299  299  
 300  300  typedef struct zio_prop {
 301  301          enum zio_checksum       zp_checksum;
 302  302          enum zio_compress       zp_compress;
 303  303          dmu_object_type_t       zp_type;
 304  304          uint8_t                 zp_level;
 305  305          uint8_t                 zp_copies;
 306  306          boolean_t               zp_dedup;
 307  307          boolean_t               zp_dedup_verify;
 308  308          boolean_t               zp_nopwrite;
      309 +        boolean_t               zp_zero_write;
 309  310  } zio_prop_t;
 310  311  
 311  312  typedef struct zio_cksum_report zio_cksum_report_t;
 312  313  
 313  314  typedef void zio_cksum_finish_f(zio_cksum_report_t *rep,
 314  315      const void *good_data);
 315  316  typedef void zio_cksum_free_f(void *cbdata, size_t size);
 316  317  
 317  318  struct zio_bad_cksum;                           /* defined in zio_checksum.h */
 318  319  struct dnode_phys;
↓ open down ↓ 282 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX