mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-30 16:51:41 +00:00
zio write issue threads should have lower (numerically greater) priority
This is because they might do data compression which is quite CPU expensive. The original code is correct for illumos, because there a higher priority corresponds to a greater number. MFC after: 2 weeks
This commit is contained in:
parent
42e88fe650
commit
c8ff459286
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=297709
@ -929,7 +929,7 @@ spa_taskqs_init(spa_t *spa, zio_type_t t, zio_taskq_type_t q)
|
||||
* than the other taskqs.
|
||||
*/
|
||||
if (t == ZIO_TYPE_WRITE && q == ZIO_TASKQ_ISSUE)
|
||||
pri--;
|
||||
pri++;
|
||||
|
||||
tq = taskq_create_proc(name, value, pri, 50,
|
||||
INT_MAX, spa->spa_proc, flags);
|
||||
|
Loading…
Reference in New Issue
Block a user