Re: [PATCH] efidisk: Respect block_io_protocol buffer alignment

2016-02-28 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.02.2016 19:05, Leif Lindholm wrote: > Returned from the OpenProtocol operation, the grub_efi_block_io_media > structure contains the io_align field, specifying the minimum alignment > required for buffers used in any data transfers with the device. > > Make grub_efidisk_readwrite() allocate

Re: [PATCH] efidisk: Respect block_io_protocol buffer alignment

2016-02-18 Thread Andrei Borzenkov
18.02.2016 18:00, Leif Lindholm пишет: > Returned from the OpenProtocol operation, the grub_efi_block_io_media > structure contains the io_align field, specifying the minimum alignment > required for buffers used in any data transfers with the device. > > Make grub_efidisk_readwrite() allocate a t

Re: [PATCH] efidisk: Respect block_io_protocol buffer alignment

2016-02-18 Thread Leif Lindholm
On Thu, Feb 18, 2016 at 04:27:58PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 18.02.2016 16:00, Leif Lindholm wrote: > > --- a/grub-core/disk/efi/efidisk.c > > +++ b/grub-core/disk/efi/efidisk.c > > @@ -463,6 +463,7 @@ grub_efidisk_open (const char *name, struct grub_disk > > *disk)

Re: [PATCH] efidisk: Respect block_io_protocol buffer alignment

2016-02-18 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 18.02.2016 16:00, Leif Lindholm wrote: > Returned from the OpenProtocol operation, the grub_efi_block_io_media > structure contains the io_align field, specifying the minimum alignment > required for buffers used in any data transfers with the device. > > Make grub_efidisk_readwrite() allocate

Re: [PATCH] efidisk: Respect block_io_protocol buffer alignment

2016-02-18 Thread Leif Lindholm
On Thu, Feb 18, 2016 at 03:00:38PM +0300, Andrei Borzenkov wrote: > On Thu, Feb 18, 2016 at 1:21 PM, Leif Lindholm > wrote: > > On Thu, Feb 18, 2016 at 06:36:06AM +0300, Andrei Borzenkov wrote: > >> 17.02.2016 22:44, Leif Lindholm пишет: > >> > Returned from the OpenProtocol operation, the grub_e

Re: [PATCH] efidisk: Respect block_io_protocol buffer alignment

2016-02-18 Thread Andrei Borzenkov
On Thu, Feb 18, 2016 at 1:21 PM, Leif Lindholm wrote: > On Thu, Feb 18, 2016 at 06:36:06AM +0300, Andrei Borzenkov wrote: >> 17.02.2016 22:44, Leif Lindholm пишет: >> > Returned from the OpenProtocol operation, the grub_efi_block_io_media >> > structure contains the io_align field, specifying the

Re: [PATCH] efidisk: Respect block_io_protocol buffer alignment

2016-02-18 Thread Leif Lindholm
On Thu, Feb 18, 2016 at 06:36:06AM +0300, Andrei Borzenkov wrote: > 17.02.2016 22:44, Leif Lindholm пишет: > > Returned from the OpenProtocol operation, the grub_efi_block_io_media > > structure contains the io_align field, specifying the minimum alignment > > required for buffers used in any data

Re: [PATCH] efidisk: Respect block_io_protocol buffer alignment

2016-02-17 Thread Andrei Borzenkov
17.02.2016 22:44, Leif Lindholm пишет: > Returned from the OpenProtocol operation, the grub_efi_block_io_media > structure contains the io_align field, specifying the minimum alignment > required for buffers used in any data transfers with the device. > > Make grub_efidisk_readwrite() allocate a t