Lines Matching defs:dm_snapshot
48 struct dm_snapshot { struct
49 struct rw_semaphore lock;
51 struct dm_dev *origin;
52 struct dm_dev *cow;
54 struct dm_target *ti;
57 struct list_head list;
63 int valid;
70 int snapshot_overflowed;
73 int active;
75 atomic_t pending_exceptions_count;
77 spinlock_t pe_allocation_lock;
80 sector_t exception_start_sequence;
83 sector_t exception_complete_sequence;
89 struct rb_root out_of_order_tree;
91 mempool_t pending_pool;
93 struct dm_exception_table pending;
94 struct dm_exception_table complete;
100 spinlock_t pe_lock;
103 spinlock_t tracked_chunk_lock;
104 struct hlist_head tracked_chunk_hash[DM_TRACKED_CHUNK_HASH_SIZE];
107 struct dm_exception_store *store;
109 unsigned in_progress;
110 struct wait_queue_head in_progress_wait;
112 struct dm_kcopyd_client *kcopyd_client;
115 unsigned long state_bits;
118 chunk_t first_merging_chunk;
119 int num_merging_chunks;
134 bool merge_failed:1;
136 bool discard_zeroes_cow:1;
137 bool discard_passdown_origin:1;
143 struct bio_list bios_queued_during_merge;
148 struct bio flush_bio;