Lines Matching full:discard

82  * for which a data_vio or discard permit are not available will block until the necessary
88 * The pool contains two "limiters", one for tracking data_vios and one for tracking discard
91 * get a discard permit if it is a discard, and then to get a data_vio. If the necessary resources
107 * each data_vio, it first checks whether that data_vio was processing a discard. If so, and there
108 * is a blocked bio waiting for a discard permit, that permit is notionally transferred to the
109 * eldest discard waiter, and that waiter is moved to the end of the list of discard bios waiting
110 * for a data_vio. If there are no discard waiters, the discard permit is returned to the pool.
111 * Next, the data_vio is assigned to the oldest blocked bio which either has a discard permit, or
167 /* The limiter controlling data_vios for discard */
169 /* The list of bios which have discard permits but still need a data_vio */
236 "no outstanding discard permits"); in check_for_drain_complete_locked()
282 "data_vio to acknowledge is not an incomplete discard"); in acknowledge_data_vio()
676 /* Return the data_vio's discard permit. */ in reuse_or_release_resources()
854 "discard limit does not exceed pool size"); in make_data_vio_pool()
919 "data_vio pool must not have threads waiting to discard when being freed"); in free_data_vio_pool()
958 * This will block if data_vios or discard permits are not available.
1053 dump_limiter("discard permits", &pool->discard_limiter); in dump_data_vio_pool()
1095 // The discard limit may not be higher than the data_vio limit. in set_data_vio_pool_discard_limit()
1271 * If it is part of a multi-block discard, starts on the next block, otherwise, returns it to the
1816 * 3) A data_vio could be doing a partial write on behalf of a larger discard which has not in launch_compress_data_vio()
1941 /* This is a zero write or discard */ in acknowledge_write_callback()
2005 "data_vio with no block map page is a discard"); in assert_is_discard()
2031 * This is a discard for a block on a block map page which has not been allocated, so in continue_data_vio_with_block_map_slot()
2040 * We need an allocation if this is neither a full-block discard nor a in continue_data_vio_with_block_map_slot()
2058 /* This is not the final block of a discard so we can't acknowledge it yet. */ in continue_data_vio_with_block_map_slot()