mirror_zfs/lib
Garrett D'Amore a38718a63d Illumos #734: Use taskq_dispatch_ent() interface
It has been observed that some of the hottest locks are those
of the zio taskqs.  Contention on these locks can limit the
rate at which zios are dispatched which limits performance.

This upstream change from Illumos uses new interface to the
taskqs which allow them to utilize a prealloc'ed taskq_ent_t.
This removes the need to perform an allocation at dispatch
time while holding the contended lock.  This has the effect
of improving system performance.

Reviewed by: Albert Lee <trisk@nexenta.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Alexey Zaytsev <alexey.zaytsev@nexenta.com>
Reviewed by: Jason Brian King <jason.brian.king@gmail.com>
Reviewed by: George Wilson <gwilson@zfsmail.com>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Approved by: Gordon Ross <gwr@nexenta.com>

References to Illumos issue:
  https://www.illumos.org/issues/734

Ported-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #482
2011-12-14 09:19:30 -08:00
..
libavl Simplify BDI integration 2011-11-08 10:19:03 -08:00
libefi Simplify BDI integration 2011-11-08 10:19:03 -08:00
libnvpair Simplify BDI integration 2011-11-08 10:19:03 -08:00
libshare Added comments for libshare's NFS functions. 2011-12-05 09:33:00 -08:00
libspl Simplify BDI integration 2011-11-08 10:19:03 -08:00
libunicode Simplify BDI integration 2011-11-08 10:19:03 -08:00
libuutil Simplify BDI integration 2011-11-08 10:19:03 -08:00
libzfs Allow leading digits in userquota/groupquota names 2011-11-21 16:29:18 -08:00
libzpool Illumos #734: Use taskq_dispatch_ent() interface 2011-12-14 09:19:30 -08:00
Makefile.am Implemented sharing datasets via NFS using libshare. 2011-07-06 09:20:28 -07:00
Makefile.in Simplify BDI integration 2011-11-08 10:19:03 -08:00