]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/xfs/xfs_ag.h
Merge branch 'for-2637/s3c24xx-all' of git://git.fluff.org/bjdooks/linux
[net-next-2.6.git] / fs / xfs / xfs_ag.h
index 51c42c202bf11106228cf3592e71c0cd78fa5ee0..63c7a1a6c02210d9483f0adf5035a06d3620dd1b 100644 (file)
@@ -230,6 +230,12 @@ typedef struct xfs_perag {
        rwlock_t        pag_ici_lock;   /* incore inode lock */
        struct radix_tree_root pag_ici_root;    /* incore inode cache root */
        int             pag_ici_reclaimable;    /* reclaimable inodes */
+       struct mutex    pag_ici_reclaim_lock;   /* serialisation point */
+       unsigned long   pag_ici_reclaim_cursor; /* reclaim restart point */
+
+       /* buffer cache index */
+       spinlock_t      pag_buf_lock;   /* lock for pag_buf_tree */
+       struct rb_root  pag_buf_tree;   /* ordered tree of active buffers */
 
        /* for rcu-safe freeing */
        struct rcu_head rcu_head;