[XFS] Introduce per-filesystem delwri pagebuf flushing to reduce
[deliverable/linux.git] / fs / xfs / linux-2.6 / xfs_buf.h
index 237a35b915d1ecba283f11aa53ae6df8484bb3de..f721d47ad4cccd259dda46c05075e7f176176da0 100644 (file)
@@ -88,6 +88,15 @@ typedef struct xfs_buftarg {
        uint                    bt_hashmask;
        uint                    bt_hashshift;
        xfs_bufhash_t           *bt_hash;
+
+       /* per device delwri queue */
+       struct task_struct      *bt_task;
+       struct list_head        bt_list;
+       struct list_head        bt_delwrite_queue;
+       spinlock_t              bt_delwrite_lock;
+       uint                    bt_flags;
+#define BT_FORCE_SLEEP         1
+#define BT_FORCE_FLUSH         2
 } xfs_buftarg_t;
 
 /*
This page took 0.03031 seconds and 5 git commands to generate.