Re: Get the underlying cache block size of a filesystem?
Re: Get the underlying cache block size of a filesystem?
- Subject: Re: Get the underlying cache block size of a filesystem?
- From: James Peach <email@hidden>
- Date: Thu, 11 Feb 2010 10:13:16 -0800
On Feb 11, 2010, at 8:20 AM, James Bucanek wrote:
[snip]
>
> So I come to beg the gurus of filesystem architecture for advice. Is there an API that I can use to discover the actual/typical block read size employed by a filesystem or filesystem cache?
Probably your best bet is to use f_iosize (or f_bsize) from struct statfs, see statfs(2).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden