Print this page
3742 zfs comments need cleaner, more consistent style
Submitted by:   Will Andrews <willa@spectralogic.com>
Submitted by:   Alan Somers <alans@spectralogic.com>
Reviewed by:    Matthew Ahrens <mahrens@delphix.com>
Reviewed by:    George Wilson <george.wilson@delphix.com>
Reviewed by:    Eric Schrock <eric.schrock@delphix.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/zfs/zfs_sa.c
          +++ new/usr/src/uts/common/fs/zfs/zfs_sa.c
↓ open down ↓ 179 lines elided ↑ open up ↑
 180  180  
 181  181                  zp->z_pflags |= ZFS_BONUS_SCANSTAMP;
 182  182                  VERIFY(0 == sa_update(zp->z_sa_hdl, SA_ZPL_FLAGS(zfsvfs),
 183  183                      &zp->z_pflags, sizeof (uint64_t), tx));
 184  184          }
 185  185  }
 186  186  
 187  187  /*
 188  188   * I'm not convinced we should do any of this upgrade.
 189  189   * since the SA code can read both old/new znode formats
 190      - * with probably little to know performance difference.
      190 + * with probably little to no performance difference.
 191  191   *
 192  192   * All new files will be created with the new format.
 193  193   */
 194  194  
 195  195  void
 196  196  zfs_sa_upgrade(sa_handle_t *hdl, dmu_tx_t *tx)
 197  197  {
 198  198          dmu_buf_t *db = sa_get_db(hdl);
 199  199          znode_t *zp = sa_get_userdata(hdl);
 200  200          zfsvfs_t *zfsvfs = zp->z_zfsvfs;
↓ open down ↓ 134 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX