haiku/headers/private
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
..
app BCursor: add a constructor with bitmap and point 2020-10-08 08:23:31 +00:00
audio audio: Move hmulti_audio driver API to private audio headers 2018-10-23 16:33:19 +02:00
binary_compatibility
bluetooth Bluetooth Pref: Inactiveate button and things that don't do anything. 2021-04-10 20:28:43 +00:00
debug
debugger Add (void*) casts to memcpy/memset invocations to appease GCC 8. 2019-05-24 14:21:37 -04:00
device acpi_battery: support for _BIX method. 2020-03-10 13:14:09 +00:00
drivers add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
file_systems general/logs: Ensure all logs start with THING: 2022-09-08 17:59:21 +00:00
firewire Minor tweaks to fix the build after the last commit. 2019-03-26 20:06:09 -04:00
fs_shell xfs : version 5 superblock, checksum header file 2022-06-18 08:32:18 +00:00
graphics radeon_hd: from Cedar, memory sizes as bytes only for PALM/SUMO/SUMO2 2022-08-05 12:42:57 +00:00
i2c i2c: add acquire_bus/release_bus hooks 2020-04-12 16:55:52 +00:00
index_server
input Refactor touchpad movement generation by migrating MovementMaker to userland. 2022-07-18 16:00:29 +00:00
interface Removed 'register' storage class compiler warnings 2022-09-12 14:03:28 +00:00
kernel add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
libroot libroot: Replace strftime/strptime/wcsftime implementations with musl's. 2022-08-18 15:31:38 -04:00
locale locale kit: allow creating a catalog without entry_ref 2020-09-01 18:14:57 +00:00
mail
media media_kit: Dynamic allocation of ChunkCache based on media 2021-01-03 20:51:37 +00:00
midi
mount
net net_interface & datalink: Fix MTU handling. 2022-05-27 16:36:12 -04:00
netservices BUrlRequest: reintroduce Pause/Resume API in the deprecated version 2021-08-15 11:47:17 +02:00
notification
package Package Kit: Proper Installation for First Boot Packages 2021-03-14 09:10:18 +00:00
preferences
print Game & Print Kits: Fix GCC 11 warnings. 2021-11-17 18:45:58 -05:00
runtime_loader runtime_loader: dlopen() should respect RPATH of the loading module 2021-03-18 08:19:55 +00:00
screen_saver
shared cpu_type.h: remove vendor string at any place 2022-09-21 19:02:08 +00:00
storage add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
support ZstdCompressionAlgorithm: 22 is now "best" in libzstd. 2021-10-26 16:47:50 -04:00
syslog_daemon
system add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
textencoding
tracker Tracker: Use BControlLook::ComposeIconSize. 2022-08-25 16:48:56 -04:00
usb_vision
userlandfs userlandfs: implement get_fs_info using ioctl 2022-09-13 18:51:12 +00:00
virtio virtio: add VIRTIO_FEATURE_ANY_LAYOUT in virtio.h 2022-02-18 21:27:47 +00:00
vmdk
wmi wmi: add ACPI WMI implementation 2020-04-20 14:56:59 +00:00