vinum and hot-swapping

Greg 'groggy' Lehey grog at FreeBSD.org
Sun Jul 13 19:19:19 PDT 2003


On Sunday, 13 July 2003 at 20:57:46 -0500, Marc Wiz wrote:
> On Mon, Jul 14, 2003 at 10:02:58AM +0930, Greg 'groggy' Lehey wrote:
>>> I don't believe vinum can optimize full-stripe writes, though, since
>>> FreeBSD can only do I/O in 64k max chunks,
>>
>> 128 kB.
>
> I thought physio was limited to 64 KB?  The man page on dump states
> this.  Please correct me if I am wrong.

Physio is limited to MAXPHYS, which you'll find defined in
/usr/include/sys/param.h:

  #ifndef MAXPHYS
  #define MAXPHYS		(128 * 1024)	/* max raw I/O transfer size */
  #endif

I've taken a look at the dump code (yuk!), and it no longer places any
limitation on the block size.  I'll fix the man page.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030714/1711c90e/attachment.bin


More information about the freebsd-questions mailing list