Author: mav
Date: Tue Jun 11 14:26:55 2019
New Revision: 348918
URL: https://svnweb.freebsd.org/changeset/base/348918

Log:
  MFC r348574: MFV r348573: 9993 zil writes can get delayed in zio pipeline
  
  illumos/illumos-gate@2258ad0b755b24a55c6173b1e6bb6188389f72dd
  
  Reviewed by: Prakash Surya <[email protected]>
  Reviewed by: Brad Lewis <[email protected]>
  Reviewed by: Matt Ahrens <[email protected]>
  Approved by: Dan McDonald <[email protected]>
  Author:     George Wilson <[email protected]>

Modified:
  stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c
==============================================================================
--- stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c      Tue Jun 
11 14:26:14 2019        (r348917)
+++ stable/12/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c      Tue Jun 
11 14:26:55 2019        (r348918)
@@ -1614,7 +1614,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++;
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to