loader: want mechanism to avoid RA with bcache
While we have mechanisms in place to protect ourselves against the read behind the disk end, there is still one corner case. As the GPT partition table has backup table at the end of the disk, and we yet do not know the size of the disk (if the wrong size is provided by the firmware/bios), we need to limit the reads to avoid read ahead in such case.
Discovered the problem with testing 32-bit UEFI and noticed the read failure messages.
Updated by Electric Monk over 2 years ago
- Status changed from New to Closed
- % Done changed from 90 to 100
commit 3dab25019f363b9dfef49cb3eeb29b0b2023b85b Author: Toomas Soome <email@example.com> Date: 2017-04-27T01:01:12.000Z 8010 loader: want mechanism to avoid RA with bcache Reviewed by: Dan McDonald <firstname.lastname@example.org> Reviewed by: Jason King <email@example.com> Approved by: Robert Mustacchi <firstname.lastname@example.org>