Print this page
3888 zfs recv -F should destroy any snapshots created since the incremental source
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Peng Dai <peng.dai@delphix.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/dsl_dataset.h
          +++ new/usr/src/uts/common/fs/zfs/sys/dsl_dataset.h
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   * When distributing Covered Code, include this CDDL HEADER in each
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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   * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  23      - * Copyright (c) 2012 by Delphix. All rights reserved.
       23 + * Copyright (c) 2013 by Delphix. All rights reserved.
  24   24   * Copyright (c) 2012, Joyent, Inc. All rights reserved.
  25   25   * Copyright (c) 2013 Steven Hartland. All rights reserved.
  26   26   */
  27   27  
  28   28  #ifndef _SYS_DSL_DATASET_H
  29   29  #define _SYS_DSL_DATASET_H
  30   30  
  31   31  #include <sys/dmu.h>
  32   32  #include <sys/spa.h>
  33   33  #include <sys/txg.h>
↓ open down ↓ 165 lines elided ↑ open up ↑
 199  199  int dsl_dataset_rename_snapshot(const char *fsname,
 200  200      const char *oldsnapname, const char *newsnapname, boolean_t recursive);
 201  201  int dsl_dataset_snapshot_tmp(const char *fsname, const char *snapname,
 202  202      minor_t cleanup_minor, const char *htag);
 203  203  
 204  204  blkptr_t *dsl_dataset_get_blkptr(dsl_dataset_t *ds);
 205  205  void dsl_dataset_set_blkptr(dsl_dataset_t *ds, blkptr_t *bp, dmu_tx_t *tx);
 206  206  
 207  207  spa_t *dsl_dataset_get_spa(dsl_dataset_t *ds);
 208  208  
 209      -boolean_t dsl_dataset_modified_since_lastsnap(dsl_dataset_t *ds);
      209 +boolean_t dsl_dataset_modified_since_snap(dsl_dataset_t *ds,
      210 +    dsl_dataset_t *snap);
 210  211  
 211  212  void dsl_dataset_sync(dsl_dataset_t *os, zio_t *zio, dmu_tx_t *tx);
 212  213  
 213  214  void dsl_dataset_block_born(dsl_dataset_t *ds, const blkptr_t *bp,
 214  215      dmu_tx_t *tx);
 215  216  int dsl_dataset_block_kill(dsl_dataset_t *ds, const blkptr_t *bp,
 216  217      dmu_tx_t *tx, boolean_t async);
 217  218  boolean_t dsl_dataset_block_freeable(dsl_dataset_t *ds, const blkptr_t *bp,
 218  219      uint64_t blk_birth);
 219  220  uint64_t dsl_dataset_prev_snap_txg(dsl_dataset_t *ds);
↓ open down ↓ 67 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX