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

#include <volumes.h>

Data Fields

struct list_head dev_list
 
struct list_head dev_alloc_list
 
struct btrfs_fs_devicesfs_devices
 
struct btrfs_rootdev_root
 
struct btrfs_pending_bios pending_bios
 
struct btrfs_pending_bios pending_sync_bios
 
int running_pending
 
u64 generation
 
int writeable
 
int in_fs_metadata
 
int missing
 
int can_discard
 
spinlock_t io_lock
 
struct block_devicebdev
 
fmode_t mode
 
struct rcu_stringname
 
u64 devid
 
u64 total_bytes
 
u64 disk_total_bytes
 
u64 bytes_used
 
u32 io_align
 
u32 io_width
 
u32 sector_size
 
u64 type
 
u8 uuid [BTRFS_UUID_SIZE]
 
struct scrub_devscrub_device
 
struct btrfs_work work
 
struct rcu_head rcu
 
struct work_struct rcu_work
 
spinlock_t reada_lock
 
atomic_t reada_in_flight
 
u64 reada_next
 
struct reada_zonereada_curr_zone
 
struct radix_tree_root reada_zones
 
struct radix_tree_root reada_extents
 
struct bio * flush_bio
 
struct completion flush_wait
 
int nobarriers
 
int dev_stats_valid
 
int dev_stats_dirty
 
atomic_t dev_stat_values [BTRFS_DEV_STAT_VALUES_MAX]
 

Detailed Description

Definition at line 35 of file volumes.h.

Field Documentation

Definition at line 56 of file volumes.h.

u64 bytes_used

Definition at line 73 of file volumes.h.

int can_discard

Definition at line 52 of file volumes.h.

struct list_head dev_alloc_list

Definition at line 37 of file volumes.h.

struct list_head dev_list

Definition at line 36 of file volumes.h.

struct btrfs_root* dev_root

Definition at line 39 of file volumes.h.

Definition at line 114 of file volumes.h.

int dev_stats_dirty

Definition at line 113 of file volumes.h.

int dev_stats_valid

Definition at line 112 of file volumes.h.

u64 devid

Definition at line 64 of file volumes.h.

u64 disk_total_bytes

Definition at line 70 of file volumes.h.

struct bio* flush_bio

Definition at line 106 of file volumes.h.

struct completion flush_wait

Definition at line 107 of file volumes.h.

struct btrfs_fs_devices* fs_devices

Definition at line 38 of file volumes.h.

u64 generation

Definition at line 47 of file volumes.h.

int in_fs_metadata

Definition at line 50 of file volumes.h.

u32 io_align

Definition at line 76 of file volumes.h.

spinlock_t io_lock

Definition at line 54 of file volumes.h.

u32 io_width

Definition at line 79 of file volumes.h.

int missing

Definition at line 51 of file volumes.h.

fmode_t mode

Definition at line 59 of file volumes.h.

Definition at line 61 of file volumes.h.

int nobarriers

Definition at line 108 of file volumes.h.

struct btrfs_pending_bios pending_bios

Definition at line 42 of file volumes.h.

struct btrfs_pending_bios pending_sync_bios

Definition at line 44 of file volumes.h.

Definition at line 94 of file volumes.h.

struct work_struct rcu_work

Definition at line 95 of file volumes.h.

struct reada_zone* reada_curr_zone

Definition at line 101 of file volumes.h.

struct radix_tree_root reada_extents

Definition at line 103 of file volumes.h.

atomic_t reada_in_flight

Definition at line 99 of file volumes.h.

spinlock_t reada_lock

Definition at line 98 of file volumes.h.

u64 reada_next

Definition at line 100 of file volumes.h.

struct radix_tree_root reada_zones

Definition at line 102 of file volumes.h.

int running_pending

Definition at line 46 of file volumes.h.

struct scrub_dev* scrub_device

Definition at line 91 of file volumes.h.

u32 sector_size

Definition at line 82 of file volumes.h.

u64 total_bytes

Definition at line 67 of file volumes.h.

Definition at line 85 of file volumes.h.

Definition at line 88 of file volumes.h.

Definition at line 93 of file volumes.h.

int writeable

Definition at line 49 of file volumes.h.


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