Change zfs-kmod-devel install path
[zfs.git] / include / sys / zil_impl.h
index 1d4c0cc..f5b69b7 100644 (file)
@@ -20,6 +20,7 @@
  */
 /*
  * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012 by Delphix. All rights reserved.
  */
 
 /* Portions Copyright 2010 Robert Milkowski */
@@ -40,6 +41,7 @@ extern "C" {
 typedef struct lwb {
        zilog_t         *lwb_zilog;     /* back pointer to log struct */
        blkptr_t        lwb_blk;        /* on disk address of this log blk */
+       boolean_t       lwb_fastwrite;  /* is blk marked for fastwrite? */
        int             lwb_nused;      /* # used bytes in buffer */
        int             lwb_sz;         /* size of block and buffer */
        char            *lwb_buf;       /* log write buffer */
@@ -130,6 +132,7 @@ struct zilog {
        zil_header_t    zl_old_header;  /* debugging aid */
        uint_t          zl_prev_blks[ZIL_PREV_BLKS]; /* size - sector rounded */
        uint_t          zl_prev_rotor;  /* rotor for zl_prev[] */
+       txg_node_t      zl_dirty_link;  /* protected by dp_dirty_zilogs list */
 };
 
 typedef struct zil_bp_node {