Print this page
3748 zfs headers should be C++ compatible
Submitted by:   Justin Gibbs <justing@spectralogic.com>
Submitted by:   Will Andrews <willa@spectralogic.com>
Reviewed by:    Matthew Ahrens <mahrens@delphix.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/sys/spa.h
          +++ new/usr/src/uts/common/fs/zfs/sys/spa.h
↓ open down ↓ 636 lines elided ↑ open up ↑
 637  637  extern void spa_history_log_internal(spa_t *spa, const char *operation,
 638  638      dmu_tx_t *tx, const char *fmt, ...);
 639  639  extern void spa_history_log_internal_ds(struct dsl_dataset *ds, const char *op,
 640  640      dmu_tx_t *tx, const char *fmt, ...);
 641  641  extern void spa_history_log_internal_dd(dsl_dir_t *dd, const char *operation,
 642  642      dmu_tx_t *tx, const char *fmt, ...);
 643  643  
 644  644  /* error handling */
 645  645  struct zbookmark;
 646  646  extern void spa_log_error(spa_t *spa, zio_t *zio);
 647      -extern void zfs_ereport_post(const char *class, spa_t *spa, vdev_t *vd,
      647 +extern void zfs_ereport_post(const char *subclass, spa_t *spa, vdev_t *vd,
 648  648      zio_t *zio, uint64_t stateoroffset, uint64_t length);
 649  649  extern void zfs_post_remove(spa_t *spa, vdev_t *vd);
 650  650  extern void zfs_post_state_change(spa_t *spa, vdev_t *vd);
 651  651  extern void zfs_post_autoreplace(spa_t *spa, vdev_t *vd);
 652  652  extern uint64_t spa_get_errlog_size(spa_t *spa);
 653  653  extern int spa_get_errlog(spa_t *spa, void *uaddr, size_t *count);
 654  654  extern void spa_errlog_rotate(spa_t *spa);
 655  655  extern void spa_errlog_drain(spa_t *spa);
 656  656  extern void spa_errlog_sync(spa_t *spa, uint64_t txg);
 657  657  extern void spa_get_errlists(spa_t *spa, avl_tree_t *last, avl_tree_t *scrub);
↓ open down ↓ 46 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX