]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r363014:
authorAlan Somers <asomers@FreeBSD.org>
Fri, 24 Jul 2020 18:19:25 +0000 (18:19 +0000)
committerAlan Somers <asomers@FreeBSD.org>
Fri, 24 Jul 2020 18:19:25 +0000 (18:19 +0000)
commit1f6cd7e2e894f7f21eacabcdff167d8b63bdc5d6
tree49be8338a480bcb8eedbbb891c6248d65be4dcee
parenta146c36a278b3f2b66a0dbeeaf1f3c6568f94b3f
MFC r363014:

geli: enable direct dispatch

geli does all of its crypto operations in a separate thread pool, so
g_eli_start, g_eli_read_done, and g_eli_write_done don't actually do very
much work. Enabling direct dispatch eliminates the g_up/g_down bottlenecks,
doubling IOPs on my system. This change does not affect the thread pool.

Reviewed by: markj
Sponsored by: Axcient
Differential Revision: https://reviews.freebsd.org/D25587
sys/geom/eli/g_eli.c
tests/sys/geom/class/eli/Makefile
tests/sys/geom/class/eli/reentrancy_test.sh [new file with mode: 0755]