svn commit: r348573 - vendor-sys/illumos/dist/uts/common/fs/zfs
Alexander Motin
mav at FreeBSD.org
Mon Jun 3 19:24:41 UTC 2019
Author: mav
Date: Mon Jun 3 19:24:40 2019
New Revision: 348573
URL: https://svnweb.freebsd.org/changeset/base/348573
Log:
9993 zil writes can get delayed in zio pipeline
illumos/illumos-gate at 2258ad0b755b24a55c6173b1e6bb6188389f72dd
Reviewed by: Prakash Surya <prakash.surya at delphix.com>
Reviewed by: Brad Lewis <brad.lewis at delphix.com>
Reviewed by: Matt Ahrens <matt at delphix.com>
Approved by: Dan McDonald <danmcd at joyent.com>
Author: George Wilson <george.wilson at delphix.com>
Modified:
vendor-sys/illumos/dist/uts/common/fs/zfs/zio.c
Modified: vendor-sys/illumos/dist/uts/common/fs/zfs/zio.c
==============================================================================
--- vendor-sys/illumos/dist/uts/common/fs/zfs/zio.c Mon Jun 3 19:20:10 2019 (r348572)
+++ vendor-sys/illumos/dist/uts/common/fs/zfs/zio.c Mon Jun 3 19:24:40 2019 (r348573)
@@ -1497,7 +1497,8 @@ zio_taskq_dispatch(zio_t *zio, zio_taskq_type_t q, boo
* If this is a high priority I/O, then use the high priority taskq if
* 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)
q++;
More information about the svn-src-vendor
mailing list