]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/jbd.h
percpu: refactor percpu.h
[linux-2.6-omap-h63xx.git] / include / linux / jbd.h
index 346e2b80be7d0ec26c7b7637f58af3d03b201297..6384b19efe64cc13dd671eceed9745f541295c8d 100644 (file)
@@ -542,6 +542,11 @@ struct transaction_s
         */
        unsigned long           t_expires;
 
+       /*
+        * When this transaction started, in nanoseconds [no locking]
+        */
+       ktime_t                 t_start_time;
+
        /*
         * How many handles used this transaction? [t_handle_lock]
         */
@@ -798,8 +803,18 @@ struct journal_s
        struct buffer_head      **j_wbuf;
        int                     j_wbufsize;
 
+       /*
+        * this is the pid of the last person to run a synchronous operation
+        * through the journal.
+        */
        pid_t                   j_last_sync_writer;
 
+       /*
+        * the average amount of time in nanoseconds it takes to commit a
+        * transaction to the disk.  [j_state_lock]
+        */
+       u64                     j_average_commit_time;
+
        /*
         * An opaque pointer to fs-private information.  ext3 puts its
         * superblock pointer here