Merge branch 'raid56-experimental' into for-linus-3.9
[deliverable/linux.git] / fs / btrfs / delayed-ref.h
index 7939149f8f274c96813f7097a7825af018aec154..f75fcaf79aebd11d54ebcc6df94d6f5b67c55dfe 100644 (file)
@@ -131,6 +131,15 @@ struct btrfs_delayed_ref_root {
        /* total number of head nodes ready for processing */
        unsigned long num_heads_ready;
 
+       /*
+        * bumped when someone is making progress on the delayed
+        * refs, so that other procs know they are just adding to
+        * contention intead of helping
+        */
+       atomic_t procs_running_refs;
+       atomic_t ref_seq;
+       wait_queue_head_t wait;
+
        /*
         * set when the tree is flushing before a transaction commit,
         * used by the throttling code to decide if new updates need
This page took 0.045435 seconds and 5 git commands to generate.