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

Data Fields

uint32_t region_size
 
unsigned region_shift
 
struct dm_dirty_log * log
 
rwlock_t hash_lock
 
mempool_tregion_pool
 
unsigned mask
 
unsigned nr_buckets
 
unsigned prime
 
unsigned shift
 
struct list_headbuckets
 
unsigned max_recovery
 
spinlock_t region_lock
 
atomic_t recovery_in_flight
 
struct semaphore recovery_count
 
struct list_head clean_regions
 
struct list_head quiesced_regions
 
struct list_head recovered_regions
 
struct list_head failed_recovered_regions
 
int flush_failure
 
voidcontext
 
sector_t target_begin
 
void(* dispatch_bios )(void *context, struct bio_list *bios)
 
void(* wakeup_workers )(void *context)
 
void(* wakeup_all_recovery_waiters )(void *context)
 

Detailed Description

Definition at line 57 of file dm-region-hash.c.

Field Documentation

struct list_head* buckets

Definition at line 71 of file dm-region-hash.c.

struct list_head clean_regions

Definition at line 78 of file dm-region-hash.c.

Definition at line 88 of file dm-region-hash.c.

void(* dispatch_bios)(void *context, struct bio_list *bios)

Definition at line 92 of file dm-region-hash.c.

struct list_head failed_recovered_regions

Definition at line 81 of file dm-region-hash.c.

int flush_failure

Definition at line 86 of file dm-region-hash.c.

rwlock_t hash_lock

Definition at line 65 of file dm-region-hash.c.

struct dm_dirty_log* log

Definition at line 62 of file dm-region-hash.c.

unsigned mask

Definition at line 67 of file dm-region-hash.c.

unsigned max_recovery

Definition at line 73 of file dm-region-hash.c.

unsigned nr_buckets

Definition at line 68 of file dm-region-hash.c.

unsigned prime

Definition at line 69 of file dm-region-hash.c.

struct list_head quiesced_regions

Definition at line 79 of file dm-region-hash.c.

struct list_head recovered_regions

Definition at line 80 of file dm-region-hash.c.

struct semaphore recovery_count

Definition at line 77 of file dm-region-hash.c.

atomic_t recovery_in_flight

Definition at line 76 of file dm-region-hash.c.

spinlock_t region_lock

Definition at line 75 of file dm-region-hash.c.

mempool_t* region_pool

Definition at line 66 of file dm-region-hash.c.

unsigned region_shift

Definition at line 59 of file dm-region-hash.c.

uint32_t region_size

Definition at line 58 of file dm-region-hash.c.

unsigned shift

Definition at line 70 of file dm-region-hash.c.

sector_t target_begin

Definition at line 89 of file dm-region-hash.c.

void(* wakeup_all_recovery_waiters)(void *context)

Definition at line 98 of file dm-region-hash.c.

void(* wakeup_workers)(void *context)

Definition at line 95 of file dm-region-hash.c.


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