haiku/headers/private/kernel/disk_device_manager
Jérôme Duval 688acf41a3 add physical_block_size field where applicable
only scsi_disk checks the actual value, other drivers take the logical block size.

This change reports the physical block size from the disk rather than the block
size used by IDE/SATA/SCSI commands. On typical modern SATA disks, the SATA
commands will use 512 byte blocks, but the disk will actually read and write
4K blocks internally. This is only of importance for partition alignment for DriveSetup,
and is independant of file systems or partitioning systems. This could also influence
the recommended block size for some file systems.

Change-Id: Id0f2e22659e89fcef64c1f8d04f81cd68995e01f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5667
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2022-09-23 06:56:01 +00:00
..
ddm_modules.h partition_module_info::uninitialize(): Added block size parameter for 2011-06-13 01:38:03 +00:00
ddm_userland_interface.h partitioning: pass along reference to parent when uninitializing. 2016-12-23 18:53:15 +13:00
KDiskDevice.h * Got rid of the duplicated functionalities provided by RWLocker.cpp, and 2009-10-12 14:29:05 +00:00
KDiskDeviceManager.h * Got rid of the duplicated functionalities provided by RWLocker.cpp, and 2009-10-12 14:29:05 +00:00
KDiskDeviceUtils.h partitioning: pass along reference to parent when uninitializing. 2016-12-23 18:53:15 +13:00
KDiskSystem.h * Added optional partition_module_info::uninitialize() hook. It is supposed to 2011-06-13 01:27:13 +00:00
KFileDiskDevice.h * Reworked publishing/unpublishing of the device. This is now basically 2004-10-28 22:22:04 +00:00
KFileSystem.h * Added file_system_module_info::uninitialize() analogously to 2011-06-13 01:53:11 +00:00
KPartition.h add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
KPartitioningSystem.h * Added optional partition_module_info::uninitialize() hook. It is supposed to 2011-06-13 01:27:13 +00:00
KPartitionListener.h Added a KPartition listener mechanism and made use of it to keep shadow partitions with the corresponding physical ones in sync. 2003-09-28 22:04:13 +00:00
KPartitionVisitor.h Added KPartitionVisitor class used for advanced partition tree traversal. 2003-08-03 18:23:53 +00:00