banan-os/kernel
Bananymous a1ab44d39f Kernel: Optimize disk reads to read multiple sectors at once
Old StorageDevice::read_sectors() read each sector separately if the
underlying disk had a disk cache. This patch allows multiple sectors to
be read even if the disk cache exists and contains some of the sectors.

Only sectors that could not be found from the disk cache are actually
read from the disk. This optimization is not done for writing, which
still will write each sector separately, if disk cache has no memory to
store new sectors. It would feel kind of unnecessary optimization as you
have greater problems if disk cache cannot allocate a single page.
2024-05-27 15:52:34 +03:00
..
arch Kernel: Make PageTable::s_fast_page_lock non-recursive 2024-05-24 14:12:35 +03:00
font BuildSystem: building for 32-bit works now 2023-04-02 05:03:17 +03:00
include/kernel Kernel: Make all storage devices readable and writable 2024-05-27 13:41:55 +03:00
kernel Kernel: Optimize disk reads to read multiple sectors at once 2024-05-27 15:52:34 +03:00
klibc Kernel: Add klibc for kernel 2024-02-14 15:00:04 +02:00
CMakeLists.txt BAN: Make String and StringView header only 2024-05-23 15:43:26 +03:00
icxxabi.cpp Kernel/LibC: Write cxx abi with proper locking 2024-03-26 02:28:10 +02:00
ubsan.cpp All: Cleanup all files 2024-01-24 15:53:38 +02:00