Print this page
*** NO COMMENTS ***

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/dmu.h
          +++ new/usr/src/uts/common/fs/zfs/sys/dmu.h
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24   * Copyright (c) 2012 by Delphix. All rights reserved.
  25      - * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
       25 + * Copyright 2012 Nexenta Systems, Inc. All rights reserved.
  26   26   * Copyright (c) 2012, Joyent, Inc. All rights reserved.
  27   27   */
  28   28  
  29   29  /* Portions Copyright 2010 Robert Milkowski */
  30   30  
  31   31  #ifndef _SYS_DMU_H
  32   32  #define _SYS_DMU_H
  33   33  
  34   34  /*
  35   35   * This file describes the interface that the DMU provides for its
↓ open down ↓ 740 lines elided ↑ open up ↑
 776  776   */
 777  777  extern void dmu_init(void);
 778  778  extern void dmu_fini(void);
 779  779  
 780  780  typedef void (*dmu_traverse_cb_t)(objset_t *os, void *arg, struct blkptr *bp,
 781  781      uint64_t object, uint64_t offset, int len);
 782  782  void dmu_traverse_objset(objset_t *os, uint64_t txg_start,
 783  783      dmu_traverse_cb_t cb, void *arg);
 784  784  
 785  785  int dmu_send(objset_t *tosnap, objset_t *fromsnap,
 786      -    int outfd, struct vnode *vp, offset_t *off);
      786 +    int outfd, struct vnode *vp, offset_t *off, boolean_t sendsize);
 787  787  int dmu_send_estimate(objset_t *tosnap, objset_t *fromsnap, uint64_t *sizep);
 788  788  
 789  789  typedef struct dmu_recv_cookie {
 790  790          /*
 791  791           * This structure is opaque!
 792  792           *
 793  793           * If logical and real are different, we are recving the stream
 794  794           * into the "real" temporary clone, and then switching it with
 795  795           * the "logical" target.
 796  796           */
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX