Lines Matching defs:pending
86 * A list of pending exceptions that completed out of order.
93 struct dm_exception_table pending;
631 /* Lock to protect access to the completed and pending exception hash tables. */
641 struct dm_exception_table *pending = &s->pending;
644 lock->pending_slot = &pending->table[exception_hash(pending, chunk)];
911 if (dm_exception_table_init(&s->pending, hash_size, 0)) {
1095 * wait for the pending exceptions to complete.
1096 * Each time any pending exception (globally on the system)
1362 ti->error = "Could not allocate mempool for pending exceptions";
1428 dm_exception_table_exit(&s->pending, pending_cache);
1448 dm_exception_table_exit(&s->pending, pending_cache);
1707 * as the pending exception exists, neither origin writes nor snapshot
1733 /* Submit any pending write bios */
1863 struct dm_exception *e = dm_lookup_exception(&s->pending, chunk);
1872 * Inserts a pending exception into the pending table.
1874 * NOTE: a write lock must be held on the chunk's pending exception table slot
1897 dm_insert_exception(&s->pending, &pe->e);
1903 * Looks to see if this snapshot already has a pending exception
1905 * it into the pending table.
1907 * NOTE: a write lock must be held on the chunk's pending exception table slot
2816 DMERR("Couldn't create pending cache.");