diff options
author | George Wilson <[email protected]> | 2014-04-18 08:35:03 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-07-30 10:30:05 -0700 |
commit | 672692c7b77cfcf1d7abbdec2388a08741a32c57 (patch) | |
tree | cd6f5dc103bf0e2805df58e22a6a8e34edd5ff18 /module/zfs/zio.c | |
parent | 9bd274ddd846cd4024ebe3253c7b2d4f3b6f9dc0 (diff) |
Illumos 4754, 4755
4754 io issued to near-full luns even after setting noalloc threshold
4755 mg_alloc_failures is no longer needed
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: Adam Leventhal <[email protected]>
Reviewed by: Dan McDonald <[email protected]>
Approved by: Dan McDonald <[email protected]>
References:
https://www.illumos.org/issues/4754
https://www.illumos.org/issues/4755
https://github.com/illumos/illumos-gate/commit/b6240e8
Ported by: Tim Chase <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #2533
Diffstat (limited to 'module/zfs/zio.c')
-rw-r--r-- | module/zfs/zio.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/module/zfs/zio.c b/module/zfs/zio.c index 7e440a381..6352ab3a3 100644 --- a/module/zfs/zio.c +++ b/module/zfs/zio.c @@ -60,8 +60,6 @@ kmem_cache_t *zio_data_buf_cache[SPA_MAXBLOCKSIZE >> SPA_MINBLOCKSHIFT]; int zio_bulk_flags = 0; int zio_delay_max = ZIO_DELAY_MAX; -extern int zfs_mg_alloc_failures; - /* * The following actions directly effect the spa's sync-to-convergence logic. * The values below define the sync pass when we start performing the action. @@ -193,13 +191,6 @@ zio_init(void) zio_data_buf_cache[c - 1] = zio_data_buf_cache[c]; } - /* - * The zio write taskqs have 1 thread per cpu, allow 1/2 of the taskqs - * to fail 3 times per txg or 8 failures, whichever is greater. - */ - if (zfs_mg_alloc_failures == 0) - zfs_mg_alloc_failures = MAX((3 * max_ncpus / 2), 8); - zio_inject_init(); lz4_init(); |