Module Name: src Committed By: buhrow Date: Thu Aug 9 23:53:25 UTC 2012
Modified Files: src/sys/dev/raidframe: rf_netbsdkintf.c Log Message: Implement DIOCGSTRATEGY and DIOCSSTRATEGY to allow raidframe to use different buffer queue strategies. Initialize raid sets to use the default buffer queue strategy for the given architecture, rather than forcing raidframe to use fcfs in all cases. This should cause raidframe to use the same buffer queue strategy as the underlying disks. On I386, I see performance enhancements of between 14 and 16% with raid5 sets with no other change. See http://mail-index.NetBSD.org/tech-kern/2012/08/08/msg013758.html for a discussion of this issue. To generate a diff of this commit: cvs rdiff -u -r1.297 -r1.298 src/sys/dev/raidframe/rf_netbsdkintf.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.