Lines Matching defs:dm_snapshot
54 struct dm_snapshot { struct
55 struct rw_semaphore lock;
57 struct dm_dev *origin;
58 struct dm_dev *cow;
60 struct dm_target *ti;
63 struct list_head list;
69 int valid;
76 int snapshot_overflowed;
79 int active;
81 atomic_t pending_exceptions_count;
83 spinlock_t pe_allocation_lock;
86 sector_t exception_start_sequence;
89 sector_t exception_complete_sequence;
95 struct rb_root out_of_order_tree;
97 mempool_t pending_pool;
99 struct dm_exception_table pending;
100 struct dm_exception_table complete;
106 spinlock_t pe_lock;
109 spinlock_t tracked_chunk_lock;
110 struct hlist_head tracked_chunk_hash[DM_TRACKED_CHUNK_HASH_SIZE];
113 struct dm_exception_store *store;
115 unsigned int in_progress;
116 struct wait_queue_head in_progress_wait;
118 struct dm_kcopyd_client *kcopyd_client;
121 unsigned long state_bits;
124 chunk_t first_merging_chunk;
125 int num_merging_chunks;
140 bool merge_failed:1;
142 bool discard_zeroes_cow:1;
143 bool discard_passdown_origin:1;
149 struct bio_list bios_queued_during_merge;