Re: [dm-devel] [PATCH 2/4] kpartx: read devices with direct IO

2020-07-02 Thread Benjamin Marzinski
On Thu, Jul 02, 2020 at 03:00:37PM +, Martin Wilck wrote: > On Wed, 2020-07-01 at 17:39 -0500, Benjamin Marzinski wrote: > > If kpartx is used on top of shared storage, and a device has its > > partition table changed on one machine, and then kpartx is run on > > another, it may not see the

Re: [dm-devel] [PATCH 2/4] kpartx: read devices with direct IO

2020-07-02 Thread Martin Wilck
On Wed, 2020-07-01 at 17:39 -0500, Benjamin Marzinski wrote: > If kpartx is used on top of shared storage, and a device has its > partition table changed on one machine, and then kpartx is run on > another, it may not see the new data, because the cache still > contains > the old data, and there

[dm-devel] [PATCH 2/4] kpartx: read devices with direct IO

2020-07-01 Thread Benjamin Marzinski
If kpartx is used on top of shared storage, and a device has its partition table changed on one machine, and then kpartx is run on another, it may not see the new data, because the cache still contains the old data, and there is nothing to tell the machine running kpartx to invalidate it. To solve