xfs: lockless per-ag lookups
[sfrench/cifs-2.6.git] / fs / xfs / xfs_ag.h
index 4917d4eed4edaeac56edffc1d65e4b7bc92acaa7..51c42c202bf11106228cf3592e71c0cd78fa5ee0 100644 (file)
@@ -230,6 +230,9 @@ 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 */
+
+       /* for rcu-safe freeing */
+       struct rcu_head rcu_head;
 #endif
        int             pagb_count;     /* pagb slots in use */
 } xfs_perag_t;