[Ocfs2-devel] Cluster sizes allowed?

Joel Becker Joel.Becker at oracle.com
Mon Aug 9 13:05:12 CDT 2004


On Mon, Aug 09, 2004 at 10:13:11AM -0700, Villalovos, John L wrote:
> What are the cluster sizes allowed?

	The formula is 2^x where 12 <= x <= 20.  If you need a formula.
The acutal on-disk format stores the clustersize as the exponent
(OCFS_RAW_SB(sb_dinode)->s_clustersize_bits).  So
12 <= s_clustersize_bits <= 20, and clustersize == 1 <<
s_clustersize_bits.

Joel

-- 

Life's Little Instruction Book #356

	"Be there when people need you."

Joel Becker
Senior Member of Technical Staff
Oracle Corporation
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127


More information about the Ocfs2-devel mailing list