]> CyberLeo.Net >> Repos - FreeBSD/stable/8.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:44:43 +0000 (00:44 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Apr 2015 00:44:43 +0000 (00:44 +0000)
commit82c6f4519f71df924e135b10ea6540304cbf9077
treec92f73c07f865ca1da9942cc2321d077ef0c3fa0
parenta98c9fbf5928366652ed4d5141803e39711241cf
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/8@281347 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/geom/mirror/g_mirror.c
sys/geom/raid/g_raid.c