Print this page
NEX-5272 KRRP: replicate snapshot properties
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
Reviewed by: Alexey Komarov <alexey.komarov@nexenta.com>
Reviewed by: Alex Aizman <alex.aizman@nexenta.com>
NEX-5268 WBC: add sysevent migration-done
Reviewed by: Alek Pinchuk <alek.pinchuk@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>
6358 A faulted pool with only unavailable vdevs triggers assertion failure in libzfs
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
Reviewed by: Serban Maduta <serban.maduta@gmail.com>
Approved by: Dan McDonald <danmcd@omniti.com>
6393 zfs receive a full send as a clone
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Reviewed by: Richard Elling <Richard.Elling@RichardElling.com>
Approved by: Dan McDonald <danmcd@omniti.com>
2605 want to resume interrupted zfs send
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed by: Xin Li <delphij@freebsd.org>
Reviewed by: Arne Jansen <sensille@gmx.net>
Approved by: Dan McDonald <danmcd@omniti.com>
5746 more checksumming in zfs send
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Bayard Bell <buffer.g.overflow@gmail.com>
Approved by: Albert Lee <trisk@omniti.com>
Bug 10481 - Dry run option in 'zfs send' isn't the same as in NexentaStor 3.1

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/zfs_ioctl.h
          +++ new/usr/src/uts/common/fs/zfs/sys/zfs_ioctl.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   * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23   * Copyright (c) 2011-2012 Pawel Jakub Dawidek. All rights reserved.
  24   24   * Copyright (c) 2012, 2017 by Delphix. All rights reserved.
       25 + * Copyright 2016 Nexenta Systems, Inc. All rights reserved.
  25   26   * Copyright 2016 RackTop Systems.
  26   27   * Copyright (c) 2014 Integros [integros.com]
  27   28   */
  28   29  
  29   30  #ifndef _SYS_ZFS_IOCTL_H
  30   31  #define _SYS_ZFS_IOCTL_H
  31   32  
  32   33  #include <sys/cred.h>
  33   34  #include <sys/dmu.h>
  34   35  #include <sys/zio.h>
↓ open down ↓ 357 lines elided ↑ open up ↑
 392  393          uint64_t        zc_action_handle;
 393  394          int             zc_cleanup_fd;
 394  395          uint8_t         zc_simple;
 395  396          uint8_t         zc_pad3[3];
 396  397          boolean_t       zc_resumable;
 397  398          uint32_t        zc_pad4;
 398  399          uint64_t        zc_sendobj;
 399  400          uint64_t        zc_fromobj;
 400  401          uint64_t        zc_createtxg;
 401  402          zfs_stat_t      zc_stat;
      403 +        uint64_t        zc_sendcounter;
      404 +        boolean_t       zc_sendsize;
 402  405  } zfs_cmd_t;
 403  406  
 404  407  typedef struct zfs_useracct {
 405  408          char zu_domain[256];
 406  409          uid_t zu_rid;
 407  410          uint32_t zu_pad;
 408  411          uint64_t zu_space;
 409  412  } zfs_useracct_t;
 410  413  
 411  414  #define ZFSDEV_MAX_MINOR        (1 << 16)
 412  415  #define ZFS_MIN_MINOR   (ZFSDEV_MAX_MINOR + 1)
 413  416  
 414  417  #define ZPOOL_EXPORT_AFTER_SPLIT 0x1
 415  418  
      419 +#define ZFS_EVENT_CHANNEL "com.nexenta:zfs"
      420 +#define ZFS_EC_STATUS   "status.zfs"
      421 +#define ZPOOL_EC_STATUS "status.zpool"
      422 +
      423 +void zfs_event_post(const char *subclass,
      424 +    const char *operation, nvlist_t *ev_data);
      425 +int zfs_ioc_set_prop_impl(char *name, nvlist_t *props,
      426 +    boolean_t received, nvlist_t **out_errors);
      427 +
      428 +
 416  429  #ifdef _KERNEL
 417  430  struct objset;
 418  431  struct zfsvfs;
 419  432  
 420  433  typedef struct zfs_creat {
 421  434          nvlist_t        *zct_zplprops;
 422  435          nvlist_t        *zct_props;
 423  436  } zfs_creat_t;
 424  437  
 425  438  extern dev_info_t *zfs_dip;
↓ open down ↓ 39 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX