On Thu, Mar 25, 2010 at 4:25 PM, Vivek Goyal <vgoyal@redhat.com> wrote:
Thanks for the quick and detailed review.
I wasn't aware of those interface, but I'm all for consistency. I'll
look into it.
I understand your preference to keep the key generic, but I wonder if
there is *any* device that won't have a request_queue? The penalty of
keeping it very generic might be the complexity of another auxiliary
structure to lookup gendisks or the next thing. I wish the device
mapper folks would speak up and be involved in these discussions.
Here I'll admit to being very new to RCU, and I'll defer to your
worries. More homework needed on my part.
On locking between gendisk deletion and stats printing: I suppose that
you've already considered and discarded using the queue_lock to
protect a gendisk pointer in request_queue?
Thanks again!
Chad
--