]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r280757: Remove request sorting from GEOM_MIRROR and GEOM_RAID.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Apr 2015 00:43:24 +0000 (00:43 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Apr 2015 00:43:24 +0000 (00:43 +0000)
commitf9cd0a0e7aebde4ce3b0e46704609d943d234b75
tree2eb5980dc73ceee59128ba44d834463771f9e875
parent8276e3a1ad8f3ddb73e6785ed1cd10c9e89b7692
MFC r280757: Remove request sorting from GEOM_MIRROR and GEOM_RAID.

When CPU is not busy, those queues are typically empty.  When CPU is busy,
then one more extra sorting is the last thing it needs.  If specific device
(HDD) really needs sorting, then it will be done later by CAM.

This supposed to fix livelock reported for mirror of two SSDs, when UFS
fires zillion of BIO_DELETE requests, that totally blocks I/O subsystem by
pointless sorting of requests and responses under single mutex lock.

git-svn-id: svn://svn.freebsd.org/base/stable/10@281346 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/geom/mirror/g_mirror.c
sys/geom/raid/g_raid.c