[PATCH] ieee1275: Avoiding many unecessary open/close

2020-11-19 Thread Diego Domingos
This patch aims to change the grub_ofdisk_open and grub_ofdisk_close behaviors. Since some devices (Fibre Channel and NVMe) can have a long time for shutdown notification, we should avoid open and close the disks as much as we can. So, we are changing how those functions works. The grub_ofdisk_c

Re: [PATCH v3 06/10] cryptodisk: Properly handle non-512 byte sized sectors.

2020-11-19 Thread Daniel Kiper
On Fri, Nov 06, 2020 at 01:08:28PM -0600, Glenn Washburn wrote: > On Fri, 30 Oct 2020 21:47:14 +0100 > Daniel Kiper wrote: > > > On Mon, Oct 19, 2020 at 06:09:54PM -0500, Glenn Washburn wrote: > > > By default, dm-crypt internally uses an IV that corresponds to > > > 512-byte sectors, even when a

Re: [PATCH v3 06/10] cryptodisk: Properly handle non-512 byte sized sectors.

2020-11-19 Thread Glenn Washburn
On Thu, 19 Nov 2020 15:25:33 +0100 Daniel Kiper wrote: > On Fri, Nov 06, 2020 at 01:08:28PM -0600, Glenn Washburn wrote: > > On Fri, 30 Oct 2020 21:47:14 +0100 > > Daniel Kiper wrote: > > > > > On Mon, Oct 19, 2020 at 06:09:54PM -0500, Glenn Washburn wrote: > > > > By default, dm-crypt internall