Btrfs: reduce stalls during transaction commit
[linux-2.6-block.git] / fs / btrfs / transaction.h
index 94876709217f50bbbe018ab325c81ca4e6d5322b..94f5bde2b58d40144a5d5ddf3a11607cef4b0e82 100644 (file)
 
 struct btrfs_transaction {
        u64 transid;
+       /*
+        * total writers in this transaction, it must be zero before the
+        * transaction can end
+        */
        unsigned long num_writers;
+
        unsigned long num_joined;
        int in_commit;
        int use_count;