Re: [patch] ata: libata: add per device private data

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Garzik
Date: Tuesday, October 2, 2007 - 8:07 am

Kristen Carlson Accardi wrote:

I don't have any objections to this per se...  a lot of other subsystems 
do this too, and I can certainly see a potential need.

But what about object lifetimes?  If a controller is hot-unplugged, does 
anyone need notification to destroy dynamic objects, or does controller 
cleanup take care of that?  If a device is unplugged, where should a 
controller driver do its ->private_data cleanup?

This is /not/ a NAK, just a request to make clear the lifetime rules and 
procedures...

	Jeff



-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch] ata: libata: add per device private data, Kristen Carlson Accardi, (Mon Sep 24, 4:23 pm)
Re: [patch] ata: libata: add per device private data, Jeff Garzik, (Tue Oct 2, 8:07 am)
Re: [patch] ata: libata: add per device private data, Kristen Carlson Accardi, (Tue Oct 9, 10:53 am)