Searched refs:linear_chunks (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/md/
H A Ddm-snap.c963 int i, linear_chunks; snapshot_merge_next_chunks() local
981 linear_chunks = s->store->type->prepare_merge(s->store, &old_chunk, snapshot_merge_next_chunks()
983 if (linear_chunks <= 0) { snapshot_merge_next_chunks()
984 if (linear_chunks < 0) { snapshot_merge_next_chunks()
995 old_chunk = old_chunk + 1 - linear_chunks; snapshot_merge_next_chunks()
996 new_chunk = new_chunk + 1 - linear_chunks; snapshot_merge_next_chunks()
999 * Use one (potentially large) I/O to copy all 'linear_chunks' snapshot_merge_next_chunks()
1002 io_size = linear_chunks * s->store->chunk_size; snapshot_merge_next_chunks()
1032 s->num_merging_chunks = linear_chunks; snapshot_merge_next_chunks()
1035 /* Wait until writes to all 'linear_chunks' drain */ snapshot_merge_next_chunks()
1036 for (i = 0; i < linear_chunks; i++) snapshot_merge_next_chunks()

Completed in 50 milliseconds