Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
btrfs_fs_info Struct Reference

#include <ctree.h>

Data Fields

u8 fsid [BTRFS_FSID_SIZE]
 
u8 chunk_tree_uuid [BTRFS_UUID_SIZE]
 
struct btrfs_rootextent_root
 
struct btrfs_roottree_root
 
struct btrfs_rootchunk_root
 
struct btrfs_rootdev_root
 
struct btrfs_rootfs_root
 
struct btrfs_rootcsum_root
 
struct btrfs_rootquota_root
 
struct btrfs_rootlog_root_tree
 
spinlock_t fs_roots_radix_lock
 
struct radix_tree_root fs_roots_radix
 
spinlock_t block_group_cache_lock
 
struct rb_root block_group_cache_tree
 
spinlock_t free_chunk_lock
 
u64 free_chunk_space
 
struct extent_io_tree freed_extents [2]
 
struct extent_io_treepinned_extents
 
struct btrfs_mapping_tree mapping_tree
 
struct btrfs_block_rsv global_block_rsv
 
struct btrfs_block_rsv delalloc_block_rsv
 
struct btrfs_block_rsv trans_block_rsv
 
struct btrfs_block_rsv chunk_block_rsv
 
struct btrfs_block_rsv delayed_block_rsv
 
struct btrfs_block_rsv empty_block_rsv
 
u64 generation
 
u64 last_trans_committed
 
u64 last_trans_log_full_commit
 
unsigned long mount_opt
 
unsigned long compress_type:4
 
u64 max_inline
 
u64 alloc_start
 
struct btrfs_transactionrunning_transaction
 
wait_queue_head_t transaction_throttle
 
wait_queue_head_t transaction_wait
 
wait_queue_head_t transaction_blocked_wait
 
wait_queue_head_t async_submit_wait
 
struct btrfs_super_blocksuper_copy
 
struct btrfs_super_blocksuper_for_commit
 
struct block_device__bdev
 
struct super_blocksb
 
struct inodebtree_inode
 
struct backing_dev_info bdi
 
struct mutex tree_log_mutex
 
struct mutex transaction_kthread_mutex
 
struct mutex cleaner_mutex
 
struct mutex chunk_mutex
 
struct mutex volume_mutex
 
struct mutex ordered_operations_mutex
 
struct rw_semaphore extent_commit_sem
 
struct rw_semaphore cleanup_work_sem
 
struct rw_semaphore subvol_sem
 
struct srcu_struct subvol_srcu
 
spinlock_t trans_lock
 
struct mutex reloc_mutex
 
struct list_head trans_list
 
struct list_head dead_roots
 
struct list_head caching_block_groups
 
spinlock_t delayed_iput_lock
 
struct list_head delayed_iputs
 
spinlock_t tree_mod_seq_lock
 
atomic_t tree_mod_seq
 
struct list_head tree_mod_seq_list
 
struct seq_list tree_mod_seq_elem
 
rwlock_t tree_mod_log_lock
 
struct rb_root tree_mod_log
 
atomic_t nr_async_submits
 
atomic_t async_submit_draining
 
atomic_t nr_async_bios
 
atomic_t async_delalloc_pages
 
atomic_t open_ioctl_trans
 
spinlock_t ordered_extent_lock
 
struct list_head ordered_extents
 
struct list_head delalloc_inodes
 
struct list_head ordered_operations
 
struct btrfs_workers generic_worker
 
struct btrfs_workers workers
 
struct btrfs_workers delalloc_workers
 
struct btrfs_workers endio_workers
 
struct btrfs_workers endio_meta_workers
 
struct btrfs_workers endio_meta_write_workers
 
struct btrfs_workers endio_write_workers
 
struct btrfs_workers endio_freespace_worker
 
struct btrfs_workers submit_workers
 
struct btrfs_workers caching_workers
 
struct btrfs_workers readahead_workers
 
struct btrfs_workers fixup_workers
 
struct btrfs_workers delayed_workers
 
struct task_structtransaction_kthread
 
struct task_structcleaner_kthread
 
int thread_pool_size
 
struct kobject super_kobj
 
struct completion kobj_unregister
 
int do_barriers
 
int closing
 
int log_root_recovering
 
int enospc_unlink
 
int trans_no_join
 
u64 total_pinned
 
u64 dirty_metadata_bytes
 
struct list_head dirty_cowonly_roots
 
struct btrfs_fs_devicesfs_devices
 
struct list_head space_info
 
struct btrfs_space_infodata_sinfo
 
struct reloc_controlreloc_ctl
 
spinlock_t delalloc_lock
 
u64 delalloc_bytes
 
struct btrfs_free_cluster data_alloc_cluster
 
struct btrfs_free_cluster meta_alloc_cluster
 
spinlock_t defrag_inodes_lock
 
struct rb_root defrag_inodes
 
atomic_t defrag_running
 
u64 avail_data_alloc_bits
 
u64 avail_metadata_alloc_bits
 
u64 avail_system_alloc_bits
 
spinlock_t balance_lock
 
struct mutex balance_mutex
 
atomic_t balance_running
 
atomic_t balance_pause_req
 
atomic_t balance_cancel_req
 
struct btrfs_balance_controlbalance_ctl
 
wait_queue_head_t balance_wait_q
 
unsigned data_chunk_allocations
 
unsigned metadata_ratio
 
voidbdev_holder
 
struct mutex scrub_lock
 
atomic_t scrubs_running
 
atomic_t scrub_pause_req
 
atomic_t scrubs_paused
 
atomic_t scrub_cancel_req
 
wait_queue_head_t scrub_pause_wait
 
struct rw_semaphore scrub_super_lock
 
int scrub_workers_refcnt
 
struct btrfs_workers scrub_workers
 
unsigned int quota_enabled:1
 
unsigned int pending_quota_state:1
 
u64 qgroup_flags
 
struct rb_root qgroup_tree
 
spinlock_t qgroup_lock
 
struct list_head dirty_qgroups
 
u64 qgroup_seq
 
u64 fs_state
 
struct btrfs_delayed_rootdelayed_root
 
spinlock_t reada_lock
 
struct radix_tree_root reada_tree
 
int backup_root_index
 
int num_tolerated_disk_barrier_failures
 

Detailed Description

Definition at line 1175 of file ctree.h.

Field Documentation

Definition at line 1242 of file ctree.h.

u64 alloc_start

Definition at line 1233 of file ctree.h.

atomic_t async_delalloc_pages

Definition at line 1293 of file ctree.h.

atomic_t async_submit_draining

Definition at line 1291 of file ctree.h.

wait_queue_head_t async_submit_wait

Definition at line 1238 of file ctree.h.

u64 avail_data_alloc_bits

Definition at line 1404 of file ctree.h.

u64 avail_metadata_alloc_bits

Definition at line 1405 of file ctree.h.

u64 avail_system_alloc_bits

Definition at line 1406 of file ctree.h.

int backup_root_index

Definition at line 1470 of file ctree.h.

atomic_t balance_cancel_req

Definition at line 1413 of file ctree.h.

Definition at line 1414 of file ctree.h.

spinlock_t balance_lock

Definition at line 1409 of file ctree.h.

struct mutex balance_mutex

Definition at line 1410 of file ctree.h.

atomic_t balance_pause_req

Definition at line 1412 of file ctree.h.

atomic_t balance_running

Definition at line 1411 of file ctree.h.

wait_queue_head_t balance_wait_q

Definition at line 1415 of file ctree.h.

void* bdev_holder

Definition at line 1420 of file ctree.h.

Definition at line 1245 of file ctree.h.

spinlock_t block_group_cache_lock

Definition at line 1193 of file ctree.h.

struct rb_root block_group_cache_tree

Definition at line 1194 of file ctree.h.

struct inode* btree_inode

Definition at line 1244 of file ctree.h.

struct list_head caching_block_groups

Definition at line 1275 of file ctree.h.

struct btrfs_workers caching_workers

Definition at line 1342 of file ctree.h.

struct btrfs_block_rsv chunk_block_rsv

Definition at line 1216 of file ctree.h.

struct mutex chunk_mutex

Definition at line 1249 of file ctree.h.

struct btrfs_root* chunk_root

Definition at line 1180 of file ctree.h.

u8 chunk_tree_uuid[BTRFS_UUID_SIZE]

Definition at line 1177 of file ctree.h.

struct task_struct* cleaner_kthread

Definition at line 1353 of file ctree.h.

struct mutex cleaner_mutex

Definition at line 1248 of file ctree.h.

struct rw_semaphore cleanup_work_sem

Definition at line 1261 of file ctree.h.

int closing

Definition at line 1359 of file ctree.h.

unsigned long compress_type

Definition at line 1231 of file ctree.h.

struct btrfs_root* csum_root

Definition at line 1183 of file ctree.h.

struct btrfs_free_cluster data_alloc_cluster

Definition at line 1389 of file ctree.h.

unsigned data_chunk_allocations

Definition at line 1417 of file ctree.h.

struct btrfs_space_info* data_sinfo

Definition at line 1381 of file ctree.h.

struct list_head dead_roots

Definition at line 1274 of file ctree.h.

struct rb_root defrag_inodes

Definition at line 1396 of file ctree.h.

spinlock_t defrag_inodes_lock

Definition at line 1395 of file ctree.h.

atomic_t defrag_running

Definition at line 1397 of file ctree.h.

struct btrfs_block_rsv delalloc_block_rsv

Definition at line 1212 of file ctree.h.

u64 delalloc_bytes

Definition at line 1386 of file ctree.h.

struct list_head delalloc_inodes

Definition at line 1314 of file ctree.h.

spinlock_t delalloc_lock

Definition at line 1385 of file ctree.h.

struct btrfs_workers delalloc_workers

Definition at line 1335 of file ctree.h.

struct btrfs_block_rsv delayed_block_rsv

Definition at line 1218 of file ctree.h.

spinlock_t delayed_iput_lock

Definition at line 1277 of file ctree.h.

struct list_head delayed_iputs

Definition at line 1278 of file ctree.h.

struct btrfs_delayed_root* delayed_root

Definition at line 1463 of file ctree.h.

struct btrfs_workers delayed_workers

Definition at line 1351 of file ctree.h.

struct btrfs_root* dev_root

Definition at line 1181 of file ctree.h.

struct list_head dirty_cowonly_roots

Definition at line 1370 of file ctree.h.

u64 dirty_metadata_bytes

Definition at line 1369 of file ctree.h.

struct list_head dirty_qgroups

Definition at line 1455 of file ctree.h.

int do_barriers

Definition at line 1358 of file ctree.h.

struct btrfs_block_rsv empty_block_rsv

Definition at line 1220 of file ctree.h.

struct btrfs_workers endio_freespace_worker

Definition at line 1340 of file ctree.h.

struct btrfs_workers endio_meta_workers

Definition at line 1337 of file ctree.h.

struct btrfs_workers endio_meta_write_workers

Definition at line 1338 of file ctree.h.

struct btrfs_workers endio_workers

Definition at line 1336 of file ctree.h.

struct btrfs_workers endio_write_workers

Definition at line 1339 of file ctree.h.

int enospc_unlink

Definition at line 1361 of file ctree.h.

struct rw_semaphore extent_commit_sem

Definition at line 1259 of file ctree.h.

struct btrfs_root* extent_root

Definition at line 1178 of file ctree.h.

struct btrfs_workers fixup_workers

Definition at line 1350 of file ctree.h.

spinlock_t free_chunk_lock

Definition at line 1197 of file ctree.h.

u64 free_chunk_space

Definition at line 1198 of file ctree.h.

struct extent_io_tree freed_extents[2]

Definition at line 1200 of file ctree.h.

struct btrfs_fs_devices* fs_devices

Definition at line 1372 of file ctree.h.

struct btrfs_root* fs_root

Definition at line 1182 of file ctree.h.

struct radix_tree_root fs_roots_radix

Definition at line 1190 of file ctree.h.

spinlock_t fs_roots_radix_lock

Definition at line 1189 of file ctree.h.

u64 fs_state

Definition at line 1461 of file ctree.h.

Definition at line 1176 of file ctree.h.

u64 generation

Definition at line 1222 of file ctree.h.

struct btrfs_workers generic_worker

Definition at line 1333 of file ctree.h.

struct btrfs_block_rsv global_block_rsv

Definition at line 1210 of file ctree.h.

struct completion kobj_unregister

Definition at line 1357 of file ctree.h.

u64 last_trans_committed

Definition at line 1223 of file ctree.h.

u64 last_trans_log_full_commit

Definition at line 1229 of file ctree.h.

int log_root_recovering

Definition at line 1360 of file ctree.h.

struct btrfs_root* log_root_tree

Definition at line 1187 of file ctree.h.

Definition at line 1204 of file ctree.h.

u64 max_inline

Definition at line 1232 of file ctree.h.

struct btrfs_free_cluster meta_alloc_cluster

Definition at line 1392 of file ctree.h.

unsigned metadata_ratio

Definition at line 1418 of file ctree.h.

unsigned long mount_opt

Definition at line 1230 of file ctree.h.

atomic_t nr_async_bios

Definition at line 1292 of file ctree.h.

atomic_t nr_async_submits

Definition at line 1290 of file ctree.h.

int num_tolerated_disk_barrier_failures

Definition at line 1472 of file ctree.h.

atomic_t open_ioctl_trans

Definition at line 1294 of file ctree.h.

spinlock_t ordered_extent_lock

Definition at line 1300 of file ctree.h.

struct list_head ordered_extents

Definition at line 1307 of file ctree.h.

struct list_head ordered_operations

Definition at line 1321 of file ctree.h.

struct mutex ordered_operations_mutex

Definition at line 1258 of file ctree.h.

unsigned int pending_quota_state

Definition at line 1445 of file ctree.h.

struct extent_io_tree* pinned_extents

Definition at line 1201 of file ctree.h.

u64 qgroup_flags

Definition at line 1448 of file ctree.h.

spinlock_t qgroup_lock

Definition at line 1452 of file ctree.h.

u64 qgroup_seq

Definition at line 1458 of file ctree.h.

struct rb_root qgroup_tree

Definition at line 1451 of file ctree.h.

unsigned int quota_enabled

Definition at line 1439 of file ctree.h.

struct btrfs_root* quota_root

Definition at line 1184 of file ctree.h.

spinlock_t reada_lock

Definition at line 1466 of file ctree.h.

struct radix_tree_root reada_tree

Definition at line 1467 of file ctree.h.

struct btrfs_workers readahead_workers

Definition at line 1343 of file ctree.h.

struct reloc_control* reloc_ctl

Definition at line 1383 of file ctree.h.

struct mutex reloc_mutex

Definition at line 1271 of file ctree.h.

struct btrfs_transaction* running_transaction

Definition at line 1234 of file ctree.h.

Definition at line 1243 of file ctree.h.

atomic_t scrub_cancel_req

Definition at line 1427 of file ctree.h.

struct mutex scrub_lock

Definition at line 1423 of file ctree.h.

atomic_t scrub_pause_req

Definition at line 1425 of file ctree.h.

wait_queue_head_t scrub_pause_wait

Definition at line 1428 of file ctree.h.

struct rw_semaphore scrub_super_lock

Definition at line 1429 of file ctree.h.

struct btrfs_workers scrub_workers

Definition at line 1431 of file ctree.h.

int scrub_workers_refcnt

Definition at line 1430 of file ctree.h.

atomic_t scrubs_paused

Definition at line 1426 of file ctree.h.

atomic_t scrubs_running

Definition at line 1424 of file ctree.h.

struct list_head space_info

Definition at line 1379 of file ctree.h.

struct btrfs_workers submit_workers

Definition at line 1341 of file ctree.h.

struct rw_semaphore subvol_sem

Definition at line 1263 of file ctree.h.

struct srcu_struct subvol_srcu

Definition at line 1264 of file ctree.h.

Definition at line 1240 of file ctree.h.

struct btrfs_super_block* super_for_commit

Definition at line 1241 of file ctree.h.

struct kobject super_kobj

Definition at line 1356 of file ctree.h.

int thread_pool_size

Definition at line 1354 of file ctree.h.

u64 total_pinned

Definition at line 1364 of file ctree.h.

struct btrfs_block_rsv trans_block_rsv

Definition at line 1214 of file ctree.h.

struct list_head trans_list

Definition at line 1273 of file ctree.h.

spinlock_t trans_lock

Definition at line 1266 of file ctree.h.

int trans_no_join

Definition at line 1362 of file ctree.h.

wait_queue_head_t transaction_blocked_wait

Definition at line 1237 of file ctree.h.

struct task_struct* transaction_kthread

Definition at line 1352 of file ctree.h.

struct mutex transaction_kthread_mutex

Definition at line 1247 of file ctree.h.

wait_queue_head_t transaction_throttle

Definition at line 1235 of file ctree.h.

wait_queue_head_t transaction_wait

Definition at line 1236 of file ctree.h.

struct mutex tree_log_mutex

Definition at line 1246 of file ctree.h.

struct rb_root tree_mod_log

Definition at line 1288 of file ctree.h.

rwlock_t tree_mod_log_lock

Definition at line 1287 of file ctree.h.

atomic_t tree_mod_seq

Definition at line 1282 of file ctree.h.

struct seq_list tree_mod_seq_elem

Definition at line 1284 of file ctree.h.

struct list_head tree_mod_seq_list

Definition at line 1283 of file ctree.h.

spinlock_t tree_mod_seq_lock

Definition at line 1281 of file ctree.h.

struct btrfs_root* tree_root

Definition at line 1179 of file ctree.h.

struct mutex volume_mutex

Definition at line 1250 of file ctree.h.

Definition at line 1334 of file ctree.h.


The documentation for this struct was generated from the following file: