]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r280757: Remove request sorting from GEOM_MIRROR and GEOM_RAID.
authormav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Apr 2015 09:52:17 +0000 (09:52 +0000)
committermav <mav@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 10 Apr 2015 09:52:17 +0000 (09:52 +0000)
commit21db102ee59eeac11e216ed933b74197e589bb17
tree61bd8029aedef83625c8b3be1461002e8bd57e1b
parentfd20dfe446595717b2ad393c598bc288bf9dec6c
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/9@281364 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/geom/mirror/g_mirror.c
sys/geom/raid/g_raid.c