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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <hch@xxxxxx>
> ---
>  drivers/ide/ide-disk.c   |  5 +----
>  drivers/ide/ide-floppy.c |  2 --
>  drivers/ide/ide-gd.c     | 48 +++++-----------------------------------
>  include/linux/ide.h      |  2 --
>  4 files changed, 7 insertions(+), 50 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@xxxxxxx>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		           Kernel Storage Architect
hare@xxxxxxx			                  +49 911 74053 688
SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg
HRB 36809 (AG Nürnberg), GF: Felix Imendörffer



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux