Re: ZFS: statfs and recordsize problem

2010-02-19 Thread Pawel Jakub Dawidek
On Thu, Feb 18, 2010 at 03:39:28PM +0300, Alexander Zagrebin wrote: I have noticed, that statfs called for ZFS file systems, returns the value of FS's recordsize property in both f_bsize and f_iosize. It's a problem for some software. For example, squid uses block size of cache's file

ZFS: statfs and recordsize problem

2010-02-18 Thread Alexander Zagrebin
I have noticed, that statfs called for ZFS file systems, returns the value of FS's recordsize property in both f_bsize and f_iosize. It's a problem for some software. For example, squid uses block size of cache's file system to calculate the space occupied by file. So by default it considers that

Re: ZFS: statfs and recordsize problem

2010-02-18 Thread John Baldwin
On Thursday 18 February 2010 7:39:28 am Alexander Zagrebin wrote: I have noticed, that statfs called for ZFS file systems, returns the value of FS's recordsize property in both f_bsize and f_iosize. It's a problem for some software. For example, squid uses block size of cache's file system