/* which subvolume this inode belongs to */
struct btrfs_root *root;
- /* the block group preferred for allocations. This pointer is buggy
- * and needs to be replaced with a bytenr instead
- */
- struct btrfs_block_group_cache *block_group;
-
/* key used to find this inode on disk. This is used by the code
* to read in roots of subvolumes
*/
*/
struct extent_io_tree io_failure_tree;
- /* held while inserting checksums to avoid races */
- struct mutex csum_mutex;
-
/* held while inesrting or deleting extents from files */
struct mutex extent_mutex;
*/
u64 generation;
+ /* sequence number for NFS changes */
+ u64 sequence;
+
/*
* transid of the trans_handle that last modified this inode
*/
*/
u64 index_cnt;
+ /* the start of block group preferred for allocations. */
+ u64 block_group;
+
struct inode vfs_inode;
};