freebsd-skq/sys/geom/mirror
Alexander Motin 3ab0187add 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.

MFC after:	2 weeks
2015-03-27 12:44:28 +00:00
..
g_mirror_ctl.c Add an ability to stop gmirror and clear its metadata in one command. 2013-12-27 02:43:53 +00:00
g_mirror.c Remove request sorting from GEOM_MIRROR and GEOM_RAID. 2015-03-27 12:44:28 +00:00
g_mirror.h Add an ability to stop gmirror and clear its metadata in one command. 2013-12-27 02:43:53 +00:00