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

2023-10-31 Thread Vladimir 'phcoder' Serbinenko
> +{ > + err = grub_ofdisk_open_real (name, disk); > + cont = grub_get_time_ms () < timeout; > + if (err == GRUB_ERR_UNKNOWN_DEVICE && cont) > +{ > + grub_dprintf ("ofdisk","Failed to open disk %s. Retrying...\n", > name); > + grub_errno = GRUB_ERR_NONE

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

2023-10-31 Thread Daniel Kiper
On Mon, Jul 17, 2023 at 04:02:34PM +0530, 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. s/grub/GRUB/ and below please... > This scenario is more frequent when deploying many machi

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

2023-07-17 Thread Mukesh Kumar Chaurasiya
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 force the ofdisk module to retry the open or read func