On Mon, Oct 20, 2008 at 04:57:22PM -0500, Nicolas Williams wrote:
> I've a report that the mismatch between SQLite3's default block size and
> ZFS' causes some performance problems for Thunderbird users.
> 
> It'd be great if there was an API by which SQLite3 could set its block
> size to match the hosting filesystem or where it could set the DB file's
> record size to match the SQLite3/app default block size (1KB).
> 
> Is there such an API?  If not, is there an RFE I could add a call record
> to?

To answer one of my own questions: I can use statvfs(2) to discover the
preferred block size of a filesystem.
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to