LWN article: 4K disk sectors
Martin K. Petersen
martin.petersen at oracle.com
Thu Mar 12 09:23:30 CDT 2009
>>>>> "Michael" == Michael Monnerie <michael.monnerie at is.it-management.at> writes:
Michael> I thought that it's a limitation of the Linux kernel in more
Michael> parts than just the filesystem (like block cache), that sector
Michael> sizes must be 512B.
Nope. We've supported bigger sector sizes for years because of CD-ROMs,
mainframe DASD, etc.
Michael> If I had a 4K drive, would that be usable with XFS already?
# cat /sys/block/sdc/queue/hw_sector_size
4096
# xfs_info /mnt
meta-data=/dev/sdc1 isize=256 agcount=16, agsize=5113686 blks
= sectsz=4096 attr=0
data = bsize=4096 blocks=81818976, imaxpct=25
= sunit=0 swidth=0 blks, unwritten=1
naming =version 2 bsize=4096
log =internal bsize=4096 blocks=32768, version=2
= sectsz=4096 sunit=1 blks, lazy-count=0
realtime =none extsz=4096 blocks=0, rtextents=0
--
Martin K. Petersen Oracle Linux Engineering
More information about the xfs
mailing list