Print this page
OS-1566 filesystem limits for ZFS datasets

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 ↓ 210 lines elided ↑ open up ↑
 211  211  void dsl_register_onexit_hold_cleanup(dsl_dataset_t *ds, const char *htag,
 212  212      minor_t minor);
 213  213  uint64_t dsl_dataset_create_sync(dsl_dir_t *pds, const char *lastname,
 214  214      dsl_dataset_t *origin, uint64_t flags, cred_t *, dmu_tx_t *);
 215  215  uint64_t dsl_dataset_create_sync_dd(dsl_dir_t *dd, dsl_dataset_t *origin,
 216  216      uint64_t flags, dmu_tx_t *tx);
 217  217  int dsl_dataset_destroy(dsl_dataset_t *ds, void *tag, boolean_t defer);
 218  218  dsl_checkfunc_t dsl_dataset_destroy_check;
 219  219  dsl_syncfunc_t dsl_dataset_destroy_sync;
 220  220  dsl_syncfunc_t dsl_dataset_user_hold_sync;
 221      -int dsl_dataset_snapshot_check(dsl_dataset_t *ds, const char *, dmu_tx_t *tx);
      221 +int dsl_dataset_snapshot_check(dsl_dataset_t *ds, const char *, uint64_t,
      222 +    dmu_tx_t *tx, cred_t *);
 222  223  void dsl_dataset_snapshot_sync(dsl_dataset_t *ds, const char *, dmu_tx_t *tx);
 223  224  int dsl_dataset_rename(char *name, const char *newname, boolean_t recursive);
 224  225  int dsl_dataset_promote(const char *name, char *conflsnap);
 225  226  int dsl_dataset_clone_swap(dsl_dataset_t *clone, dsl_dataset_t *origin_head,
 226  227      boolean_t force);
 227  228  int dsl_dataset_user_hold(char *dsname, char *snapname, char *htag,
 228  229      boolean_t recursive, boolean_t temphold, int cleanup_fd);
 229  230  int dsl_dataset_user_hold_for_send(dsl_dataset_t *ds, char *htag,
 230  231      boolean_t temphold);
 231  232  int dsl_dataset_user_release(char *dsname, char *snapname, char *htag,
↓ open down ↓ 66 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX