Print this page
6536 zfs send: want a way to disable sending of free records
Reviewed by: Alexander Stetsenko <astetsenko@racktopsystems.com>
Reviewed by: Kim Shrier <kshrier@racktopsystems.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/dmu_impl.h
          +++ new/usr/src/uts/common/fs/zfs/sys/dmu_impl.h
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
  25   25  /*
  26   26   * Copyright (c) 2012, Joyent, Inc. All rights reserved.
  27   27   * Copyright (c) 2013, 2015 by Delphix. All rights reserved.
       28 + * Copyright 2015 RackTop Systems.
  28   29   */
  29   30  
  30   31  #ifndef _SYS_DMU_IMPL_H
  31   32  #define _SYS_DMU_IMPL_H
  32   33  
  33   34  #include <sys/txg_impl.h>
  34   35  #include <sys/zio.h>
  35   36  #include <sys/dnode.h>
  36   37  #include <sys/zfs_context.h>
  37   38  #include <sys/zfs_ioctl.h>
↓ open down ↓ 253 lines elided ↑ open up ↑
 291  292          objset_t *dsa_os;
 292  293          zio_cksum_t dsa_zc;
 293  294          uint64_t dsa_toguid;
 294  295          int dsa_err;
 295  296          dmu_pendop_t dsa_pending_op;
 296  297          uint64_t dsa_featureflags;
 297  298          uint64_t dsa_last_data_object;
 298  299          uint64_t dsa_last_data_offset;
 299  300          uint64_t dsa_resume_object;
 300  301          uint64_t dsa_resume_offset;
      302 +        boolean_t dsa_skip_free;
 301  303  } dmu_sendarg_t;
 302  304  
 303  305  void dmu_object_zapify(objset_t *, uint64_t, dmu_object_type_t, dmu_tx_t *);
 304  306  void dmu_object_free_zapified(objset_t *, uint64_t, dmu_tx_t *);
 305  307  int dmu_buf_hold_noread(objset_t *, uint64_t, uint64_t,
 306  308      void *, dmu_buf_t **);
 307  309  
 308  310  #ifdef  __cplusplus
 309  311  }
 310  312  #endif
 311  313  
 312  314  #endif  /* _SYS_DMU_IMPL_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX