haiku/headers/os
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
..
add-ons
app
arch
be_apps
bluetooth
device
drivers add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
game
interface BControlLook: Introduce ComposeIconSize(). 2022-08-25 16:45:48 -04:00
kernel
locale
mail
media
midi
midi2
net
package
storage
support TLS.h: Drop inline assembly from the header. 2022-08-30 00:00:04 -04:00
translation
AppKit.h
Be.h
BeBuild.h
DeviceKit.h
GameKit.h
InterfaceKit.h
KernelKit.h
LocaleKit.h
MailKit.h
MediaKit.h
MidiKit.h
NetKit.h
NetworkKit.h
StorageKit.h
SupportKit.h
TranslationKit.h