Print this page
FITS: generating send-streams in portable format
This commit adds the command 'zfs fits-send', analogous to zfs send. The
generated send stream is compatible with the stream generated with that
from 'btrfs send' and can in principle easily be received to any filesystem.

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/fs/zfs.h
          +++ new/usr/src/uts/common/sys/fs/zfs.h
↓ open down ↓ 817 lines elided ↑ open up ↑
 818  818          ZFS_IOC_SPACE_WRITTEN,
 819  819          ZFS_IOC_SPACE_SNAPS,
 820  820          ZFS_IOC_DESTROY_SNAPS,
 821  821          ZFS_IOC_POOL_REGUID,
 822  822          ZFS_IOC_POOL_REOPEN,
 823  823          ZFS_IOC_SEND_PROGRESS,
 824  824          ZFS_IOC_LOG_HISTORY,
 825  825          ZFS_IOC_SEND_NEW,
 826  826          ZFS_IOC_SEND_SPACE,
 827  827          ZFS_IOC_CLONE,
      828 +        ZFS_IOC_FITS_SEND,
 828  829          ZFS_IOC_LAST
 829  830  } zfs_ioc_t;
 830  831  
 831  832  /*
 832  833   * Internal SPA load state.  Used by FMA diagnosis engine.
 833  834   */
 834  835  typedef enum {
 835  836          SPA_LOAD_NONE,          /* no load in progress  */
 836  837          SPA_LOAD_OPEN,          /* normal open          */
 837  838          SPA_LOAD_IMPORT,        /* import in progress   */
↓ open down ↓ 83 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX