Re: [PATCH V6] ieee1275/ofdisk: retry on open and read failure

2024-11-05 Thread avnish
On 2024-06-26 16:19, Mukesh Kumar Chaurasiya wrote: Sometimes, when booting from a very busy SAN, the access to the disk can fail and then GRUB will eventually drop to GRUB prompt. This scenario is more frequent when deploying many machines at the same time using the same SAN. This patch aims to

Re: [PATCH V6] ieee1275/ofdisk: retry on open and read failure

2024-07-08 Thread Mukesh Kumar Chaurasiya
Hi, Sorry for late reply. This has a something like this to prevent all the machines to try at the same time. + * Increase wait time for subsequent requests + * Cur time is used as a source of randomness + */ + grub_millisleep ((32 << ++inc) * (grub_get_time_ms () % 32));

Re: [PATCH V6] ieee1275/ofdisk: retry on open and read failure

2024-06-26 Thread Vladimir 'phcoder' Serbinenko
Should we add a random wait to avoid all the machines retrying au the same time? Le mer. 26 juin 2024, 13:57, Mukesh Kumar Chaurasiya a écrit : > Sometimes, when booting from a very busy SAN, the access to the > disk can fail and then GRUB will eventually drop to GRUB prompt. > This scenario is