[Top] [All Lists]

how does sectsz is determined ?

To: linux-xfs@xxxxxxxxxxx
Subject: how does sectsz is determined ?
From: Raz <raziebe@xxxxxxxxx>
Date: Thu, 7 Jan 2010 09:37:16 +0200
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=rhSXaL8mj+vwo7WhObCrLmgZZ/AWf3mCPxt/JA3Y63Y=; b=r4lEDOl1VO2pt3EozSDUggznuDfAwOdtQnku5HkbpvA/RTh6bIXeYC//s5GFiXuFg3 H2qKPxlzChSQW8Gzwou/+bEyx5htRVOEpfCXjttgVSuzATpmGN25+6yZ/BwEsqJXgPVo aG/1ufJoVtN0cwfK51yeRHqcJo5sP4fB1IesQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=w5+YQ8VeIIL/3PFelxMnvbtiK4SvpAccsG6n5B1NCrePMN53E96MfP/SOUdTadfe5v nkYWai5u0skrAyqSjnJvRXSdcAdFgZo6BcVsqmnZn5oOzWbCG7DbTfSsPFFIRQcN6V3o LFKv5/NOUsSSStRRza5CdKsEzWk4bagHOVe6U=
How does sectsz determined to be 512 or 4096 ?
I have an xfs file system over software raid , and sometimes I have
1/2K sector size
and sometimes 4K . Problem is that direct io buffers are aligned to
1/2k and not 4K.
kernel is 2.6.18-8.el5. thank you.

meta-data=/dev/md5               isize=256    agcount=33, agsize=10992384 blks
         =                       sectsz=4096  attr=0
data     =                       bsize=4096   blocks=351780864, imaxpct=25
         =                       sunit=768    swidth=768 blks, unwritten=1
naming   =version 2              bsize=4096
log      =internal               bsize=4096   blocks=32768, version=2
         =                       sectsz=4096  sunit=1 blks
realtime =none                   extsz=3145728 blocks=0, rtextents=0

<Prev in Thread] Current Thread [Next in Thread>