Re: [PATCH 1/4] blkio_group key change: void * -> request_queue *

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Chad Talbott
Date: Thursday, March 25, 2010 - 5:17 pm

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/4] blkio_group key change: void * -> request_ ..., Chad Talbott, (Thu Mar 25, 5:17 pm)