Re: [PATCH 3/3] ieee1275: ofdisk - don't continue to query block-size after we have it

2015-11-10 Thread Eric Snowberg
> On Nov 10, 2015, at 1:01 AM, Andrei Borzenkov wrote: > > On Tue, Oct 27, 2015 at 1:02 AM, Vladimir 'φ-coder/phcoder' Serbinenko > wrote: >> On 26.10.2015 22:43, Eric Snowberg wrote: >>> Within commit: 87ec3b7fa9061f470616ed927fc140e995831c00 - "Don't continue >>> to query block-size if disk d

Re: [PATCH 3/3] ieee1275: ofdisk - don't continue to query block-size after we have it

2015-11-10 Thread Andrei Borzenkov
On Tue, Oct 27, 2015 at 1:02 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 26.10.2015 22:43, Eric Snowberg wrote: >> Within commit: 87ec3b7fa9061f470616ed927fc140e995831c00 - "Don't continue >> to query block-size if disk doesn't have it.” Disks that returned 0 to the >> block-size query,

Re: [PATCH 3/3] ieee1275: ofdisk - don't continue to query block-size after we have it

2015-10-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 26.10.2015 22:43, Eric Snowberg wrote: > Within commit: 87ec3b7fa9061f470616ed927fc140e995831c00 - "Don't continue > to query block-size if disk doesn't have it.” Disks that returned 0 to the > block-size query, still get queried every time. > > Fix logic in grub_ofdisk_get_block_size so the b

[PATCH 3/3] ieee1275: ofdisk - don't continue to query block-size after we have it

2015-10-26 Thread Eric Snowberg
Within commit: 87ec3b7fa9061f470616ed927fc140e995831c00 - "Don't continue to query block-size if disk doesn't have it.” Disks that returned 0 to the block-size query, still get queried every time. Fix logic in grub_ofdisk_get_block_size so the block size is not requested upon each open since it w