Lines Matching defs: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)];
911 if (dm_exception_table_init(&s->pending, hash_size, 0)) {
1092 * wait for the pending exceptions to complete.
1093 * Each time any pending exception (globally on the system)
1343 ti->error = "Could not allocate mempool for pending exceptions";
1409 dm_exception_table_exit(&s->pending, pending_cache);
1429 dm_exception_table_exit(&s->pending, pending_cache);
1687 * as the pending exception exists, neither origin writes nor snapshot
1713 /* Submit any pending write bios */
1843 struct dm_exception *e = dm_lookup_exception(&s->pending, chunk);
1852 * Inserts a pending exception into the pending table.
1854 * NOTE: a write lock must be held on the chunk's pending exception table slot
1877 dm_insert_exception(&s->pending, &pe->e);
1883 * Looks to see if this snapshot already has a pending exception
1885 * it into the pending table.
1887 * NOTE: a write lock must be held on the chunk's pending exception table slot
2808 DMERR("Couldn't create pending cache.");