Re: [PATCH] hostdisk: Fix linux disk cache workaround on multipath disks

2018-09-12 Thread Michael Chang
On Tue, Sep 04, 2018 at 04:46:31PM +0200, Daniel Kiper wrote: > On Wed, Jul 25, 2018 at 04:49:15PM +0800, Michael Chang wrote: > > In hostdisk.c::grub_util_fd_open_device, there's a workaround to linux disk > >

Re: [PATCH] hostdisk: Fix linux disk cache workaround on multipath disks

2018-09-04 Thread Daniel Kiper
On Wed, Jul 25, 2018 at 04:49:15PM +0800, Michael Chang wrote: > In hostdisk.c::grub_util_fd_open_device, there's a workaround to linux disk s#hostdisk.c::grub_util_fd_open_device#grub-core/osdep/linux/hostdisk.c:grub_util_fd_open_device()# > cache described below. > > "Linux has a bug that the

[PATCH] hostdisk: Fix linux disk cache workaround on multipath disks

2018-07-25 Thread Michael Chang
In hostdisk.c::grub_util_fd_open_device, there's a workaround to linux disk cache described below. "Linux has a bug that the disk cache for a whole disk is not consistent with the one for a partition of the disk." The workaround will result in using the partition device for writing the image of