Print this page
4045 zfs write throttle & i/o scheduler performance work
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>

@@ -18,11 +18,11 @@
  *
  * CDDL HEADER END
  */
 /*
  * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright (c) 2012 by Delphix. All rights reserved.
+ * Copyright (c) 2013 by Delphix. All rights reserved.
  */
 
 #ifndef _SYS_SA_IMPL_H
 #define _SYS_SA_IMPL_H
 

@@ -151,16 +151,17 @@
 /*
  * header for all bonus and spill buffers.
  *
  * The header has a fixed portion with a variable number
  * of "lengths" depending on the number of variable sized
- * attribues which are determined by the "layout number"
+ * attributes which are determined by the "layout number"
  */
 
 #define SA_MAGIC        0x2F505A  /* ZFS SA */
 typedef struct sa_hdr_phys {
         uint32_t sa_magic;
+        /* BEGIN CSTYLED */
         /*
          * Encoded with hdrsize and layout number as follows:
          * 16      10       0
          * +--------+-------+
          * | hdrsz  |layout |

@@ -173,10 +174,11 @@
          * For example.
          * hdrsz of 1 ==> 8 byte header
          *          2 ==> 16 byte header
          *
          */
+        /* END CSTYLED */
         uint16_t sa_layout_info;
         uint16_t sa_lengths[1]; /* optional sizes for variable length attrs */
         /* ... Data follows the lengths.  */
 } sa_hdr_phys_t;