Varnish on FreeBSD

Dag-Erling Smørgrav des at des.no
Wed Apr 1 16:16:22 CEST 2009


Olivier Nicole <on at cs.ait.ac.th> writes:
> After some diging I have the answer.
>
> On FreeBSD, from the man page of fstatvfs:
>
>            f_bsize    The preferred length of I/O requests for files on this
>                       file system.  (Corresponds to the f_iosize member of
>                       struct statfs.)

Yes, we should use f_frsize instead.  Please try the attached patch.

> $ a.out
> 16384 2297104

I imagine this is the stripe size of your array?

DES
-- 
Dag-Erling Smørgrav - des at des.no

-------------- next part --------------
A non-text attachment was scrubbed...
Name: varnishd_bsize.diff
Type: text/x-patch
Size: 971 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20090401/c5b63a28/attachment-0003.bin>


More information about the varnish-misc mailing list