[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/2] disk: use maximum number of sectors for LBA
From: |
ValdikSS |
Subject: |
[PATCH v2 0/2] disk: use maximum number of sectors for LBA |
Date: |
Fri, 6 Oct 2023 20:10:11 +0300 |
GRUB2 limits number of sectors read at once in LBA mode to the
number reported in CHS disk geometry by BIOS.
This is unnecessary, as IBM/MS INT13 Extensions does not have
such limit and it is safe to read up to 127 sectors in a single call.
This fixes greatly increased boot times on WYSE C10LE x86 thin
client with Phoenix bios.
See:
https://lore.kernel.org/grub-devel/d42a11fa-2a59-b5e7-08b1-d2c60444bb99@valdikss.org.ru/
ValdikSS (2):
disk: read up to 63 sectors in LBA mode
disk: increase sector size up to 127 for LBA reads
grub-core/disk/i386/pc/biosdisk.c | 5 ++++-
include/grub/disk.h | 7 +++++--
2 files changed, 9 insertions(+), 3 deletions(-)
--
2.41.0
- [PATCH v2 0/2] disk: use maximum number of sectors for LBA,
ValdikSS <=