On Fri, 12 May 2006, Al Viro wrote: > > PS: it _is_ OK to trigger than puppy from add_disk()/del_gendisk() and in > between. I'm not sure if anyone needs it for anything, though. Triggering > it from bdev_uevent() is definitely bogus. Wouldn't it be perfectly ok if we just made sure to keep the disk device refcount elevated by the _mount_? Ie Russell's patch to elevate it around everything didn't work, but elevating the bdev->bd_disk reference count by a mount, and dropping it on umount (after doing the umount event) should be ok. No? Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: Erik Mouw <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: Linus Torvalds <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: Russell King <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: Al Viro <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: Russell King <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: Al Viro <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: Linus Torvalds <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: Al Viro <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: Al Viro <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- From: Al Viro <[email protected]>
- Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- Prev by Date: Re: Updated libata PATA patch
- Next by Date: Re: [ANNOUNCE] libata: new EH, NCQ, hotplug and PM patches against stable kernel
- Previous by thread: Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- Next by thread: Re: [BUG 2.6.17-git] kmem_cache_create: duplicate cache scsi_cmd_cache
- Index(es):