Lines Matching defs:dm_snapshot
49 struct dm_snapshot { struct
50 struct rw_semaphore lock;
52 struct dm_dev *origin;
53 struct dm_dev *cow;
55 struct dm_target *ti;
58 struct list_head list;
64 int valid;
71 int snapshot_overflowed;
74 int active;
76 atomic_t pending_exceptions_count;
78 spinlock_t pe_allocation_lock;
81 sector_t exception_start_sequence;
84 sector_t exception_complete_sequence;
90 struct rb_root out_of_order_tree;
92 mempool_t pending_pool;
94 struct dm_exception_table pending;
95 struct dm_exception_table complete;
101 spinlock_t pe_lock;
104 spinlock_t tracked_chunk_lock;
105 struct hlist_head tracked_chunk_hash[DM_TRACKED_CHUNK_HASH_SIZE];
108 struct dm_exception_store *store;
110 unsigned int in_progress;
111 struct wait_queue_head in_progress_wait;
113 struct dm_kcopyd_client *kcopyd_client;
116 unsigned long state_bits;
119 chunk_t first_merging_chunk;
120 int num_merging_chunks;
135 bool merge_failed:1;
137 bool discard_zeroes_cow:1;
138 bool discard_passdown_origin:1;
144 struct bio_list bios_queued_during_merge;