haiku/headers/private/system
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
..
arch kernel/arm: check for PXN and alignment fault in page fault handler 2022-09-05 17:29:49 +00:00
posix
architecture_private.h
commpage_defs.h kernel: add a compatibility commpage on x86_64. 2018-05-18 05:11:07 +00:00
computed_asm_macros.h
convertutf.h headers/private: Fix wrong filemode. 2018-08-08 23:48:37 -04:00
ddm_userland_interface_defs.h add physical_block_size field where applicable 2022-09-23 06:56:01 +00:00
device_manager_defs.h
directories.h
disk_device_types.h btrfs: make file system name consistent 2019-04-09 12:03:12 +00:00
elf_private.h kernel: support elf32 on x86_64. 2018-05-15 10:29:00 +00:00
extended_system_info_defs.h
find_directory_private.h
generic_syscall_defs.h
image_defs.h
node_monitor_private.h
pe_common.h
real_time_data.h
safemode_defs.h boot/bios_ia32: basic support la57 aka 5-level paging for x86_64 kernels 2020-12-28 18:21:11 +00:00
scheduler_defs.h
signal_defs.h
spinlock_contention.h
symbol_versioning.h
symbol_visibility.h Introduce symbol_visibility.h with macros to define hidden functions 2021-10-09 15:03:36 +02:00
syscall_load_image.h headers/kernel: Move B_WAIT_TILL_LOADED to a syscall header. 2019-02-01 19:45:56 -05:00
syscall_process_info.h
syscalls.h wait_for_thread_etc: expose as syscall/make public. 2022-04-25 19:47:26 +00:00
system_info.h kernel: add frequency in cpu_info 2021-11-22 07:20:25 +00:00
system_profiler_defs.h
thread_defs.h kernel: Properly separate and handle THREAD_BLOCK_TYPE_USER. 2019-08-05 22:31:02 -04:00
tls.h libs/posix: Implemented new locale functions 2022-07-11 16:30:16 +00:00
user_mutex_defs.h
user_runtime.h system/kernel: Increase MAX_PROCESS_ARGS_SIZE; fixes #17612 2022-02-23 17:36:54 +00:00
user_thread_defs.h
user_timer_defs.h
vfs_defs.h
vm_defs.h Cleanup: Various comment and whitespace fixes. 2020-08-01 19:23:27 +00:00