Can we set sectorsize to any number greater than pagesize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux