9993 zil writes can get delayed in zio pipeline
illumos/illumos-gate@2258ad0b75 Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Brad Lewis <brad.lewis@delphix.com> Reviewed by: Matt Ahrens <matt@delphix.com> Approved by: Dan McDonald <danmcd@joyent.com> Author: George Wilson <george.wilson@delphix.com>
This commit is contained in:
parent
84df75c732
commit
5f8c7a6af3
@ -1497,7 +1497,8 @@ zio_taskq_dispatch(zio_t *zio, zio_taskq_type_t q, boolean_t cutinline)
|
|||||||
* If this is a high priority I/O, then use the high priority taskq if
|
* If this is a high priority I/O, then use the high priority taskq if
|
||||||
* available.
|
* available.
|
||||||
*/
|
*/
|
||||||
if (zio->io_priority == ZIO_PRIORITY_NOW &&
|
if ((zio->io_priority == ZIO_PRIORITY_NOW ||
|
||||||
|
zio->io_priority == ZIO_PRIORITY_SYNC_WRITE) &&
|
||||||
spa->spa_zio_taskq[t][q + 1].stqs_count != 0)
|
spa->spa_zio_taskq[t][q + 1].stqs_count != 0)
|
||||||
q++;
|
q++;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user