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 Refactor touchpad movement generation by migrating MovementMaker to userland. 2022-07-18 16:00:29 +00:00
app BCursor: add a constructor with bitmap and point 2020-10-08 08:23:31 +00:00
arch kernel/arch/user_debugger: implement for risv64 2021-08-06 15:42:49 +00:00
be_apps be_apps/ServicesDaemon: Remove. 2016-07-29 18:41:30 -04:00
bluetooth bluetooth: ioctls always pass size on Haiku. 2018-11-18 14:42:09 -05:00
device USB: Move usb_iso_packet_descriptor to a separate header. 2021-09-02 16:00:17 +00:00
drivers add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
game More build fixes. 2020-01-25 21:35:34 +01:00
interface BControlLook: Introduce ComposeIconSize(). 2022-08-25 16:45:48 -04:00
kernel OS.h: Remove set_timezone function from header, place behind _BEOS_R5_COMPATIBLE_. 2022-04-25 17:25:55 -04:00
locale BCountry: add a GetPreferredLanguage method. 2021-07-21 07:20:39 +00:00
mail Migrate the BMailComponent docs to the Haiku Book. 2017-12-25 19:43:51 -05:00
media Enable some more Werror and fix compiler warnings 2022-04-22 14:25:48 +00:00
midi Fix clang warning "mismatched-tags" 2020-03-23 01:30:23 +00:00
midi2
net net/if: Drop ifmediareq and just use the regular ifreq for SIOCGIFMEDIA. 2022-06-13 22:31:33 -04:00
package package kit: Add pre-uninstall scripts feature. 2020-09-21 10:47:57 +00:00
storage Remove Spurious B_BEOS_DATA_DIRECTORY 2017-05-08 22:17:53 +02:00
support TLS.h: Drop inline assembly from the header. 2022-08-30 00:00:04 -04:00
translation Tracker: Add thumbnail support 2021-08-27 11:39:13 +00:00
AppKit.h
Be.h
BeBuild.h BeBuild: Remove B_ALWAYS_INLINE. 2021-11-18 16:35:05 -05:00
DeviceKit.h
GameKit.h
InterfaceKit.h
KernelKit.h
LocaleKit.h Remove even more Locale Kit cruft. 2017-07-30 14:46:41 -04:00
MailKit.h
MediaKit.h Make BMediaRecorder public 2017-01-10 21:34:20 +01:00
MidiKit.h
NetKit.h
NetworkKit.h headers/NetworkKit: Drop now-private service calls from NetworkKit.h 2022-05-13 16:01:15 +00:00
StorageKit.h
SupportKit.h
TranslationKit.h