Varnish on FreeBSD

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

Olivier Nicole <on at> 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?

Dag-Erling Smørgrav - des at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: varnishd_bsize.diff
Type: text/x-patch
Size: 971 bytes
Desc: not available
URL: <>

More information about the varnish-misc mailing list