Lines Matching defs:try_hard
364 { "try_hard", KSTAT_DATA_UINT64 },
3245 metaslab_should_allocate(metaslab_t *msp, uint64_t asize, boolean_t try_hard)
3260 * try_hard and it's been less than zfs_metaslab_max_size_cache_sec
3264 (msp->ms_max_size != 0 && !try_hard && gethrtime() <
4703 boolean_t try_hard, zio_alloc_list_t *zal, metaslab_t *search,
4716 if (!try_hard && tries > zfs_metaslab_find_max_tries) {
4722 if (!metaslab_should_allocate(msp, asize, try_hard)) {
4802 int allocator, boolean_t try_hard)
4878 want_unique, asize, allocator, try_hard, zal,
4986 if (!metaslab_should_allocate(msp, asize, try_hard)) {
5096 ASSERT(!metaslab_should_allocate(msp, asize, try_hard));
5108 int allocator, boolean_t try_hard)
5113 dva, d, allocator, try_hard);
5151 boolean_t try_hard = B_FALSE;
5235 if (try_hard) {
5250 if (allocatable && !GANG_ALLOCATION(flags) && !try_hard) {
5267 d == 0 && !try_hard && vd->vdev_children == 0) {
5285 !try_hard, dva, d, allocator, try_hard);
5357 if (!try_hard && (zfs_metaslab_try_hard_before_gang ||
5361 try_hard = B_TRUE;