Skip to contentSkip to conversation

Can we set sectorsize to any number greater than pagesize

DISCUSSION Miao Xie 1 participant 1 message Jun 25, 2010 Btrfs file system

lore
Share & tools
lore

Miao Xie

author
#0 lore raw

Hi, everyone!

mkfs.btrfs just does the following check for sectorsize when we use it to make a btrfs.
sectorsize = max(sectorsize, (u32)getpagesize());

Does that mean we can set sectorsize to any number greater than pagesize? If not, I think we should do more check for sectorsize in mkfs.btrfs.