Re: [PATCH 14/19] ide-gd: stop using the disk events mechanism

2020-09-09 Thread Hannes Reinecke
On 9/8/20 4:53 PM, Christoph Hellwig wrote: > ide-gd is only using the disk events mechanism to be able to force an > invalidation and partition scan on opening removable media. Just open > code the logic without invoving the block layer. > > Signed-off-by: Christoph Hellwig > --- >

[PATCH 14/19] ide-gd: stop using the disk events mechanism

2020-09-08 Thread Christoph Hellwig
ide-gd is only using the disk events mechanism to be able to force an invalidation and partition scan on opening removable media. Just open code the logic without invoving the block layer. Signed-off-by: Christoph Hellwig --- drivers/ide/ide-disk.c | 5 + drivers/ide/ide-floppy.c | 2

[PATCH 14/19] ide-gd: stop using the disk events mechanism

2020-09-02 Thread Christoph Hellwig
ide-gd is only using the disk events mechanism to be able to force an invalidation and partition scan on opening removable media. Just open code the logic without invoving the block layer. Signed-off-by: Christoph Hellwig --- drivers/ide/ide-disk.c | 5 + drivers/ide/ide-floppy.c | 2