Lines Matching refs:pending
87 * A list of pending exceptions that completed out of order.
94 struct dm_exception_table pending;
629 /* Lock to protect access to the completed and pending exception hash tables. */
639 struct dm_exception_table *pending = &s->pending;
642 lock->pending_slot = &pending->table[exception_hash(pending, chunk)];
913 if (dm_exception_table_init(&s->pending, hash_size, 0)) {
1094 * wait for the pending exceptions to complete.
1095 * Each time any pending exception (globally on the system)
1345 ti->error = "Could not allocate mempool for pending exceptions";
1411 dm_exception_table_exit(&s->pending, pending_cache);
1431 dm_exception_table_exit(&s->pending, pending_cache);
1689 * as the pending exception exists, neither origin writes nor snapshot
1715 /* Submit any pending write bios */
1845 struct dm_exception *e = dm_lookup_exception(&s->pending, chunk);
1854 * Inserts a pending exception into the pending table.
1856 * NOTE: a write lock must be held on the chunk's pending exception table slot
1879 dm_insert_exception(&s->pending, &pe->e);
1885 * Looks to see if this snapshot already has a pending exception
1887 * it into the pending table.
1889 * NOTE: a write lock must be held on the chunk's pending exception table slot
2810 DMERR("Couldn't create pending cache.");