Module Name: src Committed By: mrg Date: Sat Dec 4 10:01:16 UTC 2010
Modified Files: src/sys/dev/raidframe: rf_disks.c rf_netbsdkintf.c Log Message: apply my patch to support non-512K sector disks (at least, upto 16KB sector disks..) from my tech-kern post: the following patch let's me access both 512 byte and 4K sector disks at the same time, as long as they are in separate raids. the existing rf code assumes/enforces this part, i just made it support other sets concurrently. the main change is moving the parity bitmap to the sector after the component label sector(s), instead of being immediately after the label, which meant it was on the same sector as the label for >1024 byte devices. i'm a little annoyed at having to add a 2nd call to getdisksize() to enable auto-configure to work, but i don't see another way that wasn't much uglier. To generate a diff of this commit: cvs rdiff -u -r1.75 -r1.76 src/sys/dev/raidframe/rf_disks.c cvs rdiff -u -r1.275 -r1.276 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.