All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH and question]: dm-table should check for valid queue]
@ 2006-08-15 10:02 Stefan Bader
  0 siblings, 0 replies; only message in thread
From: Stefan Bader @ 2006-08-15 10:02 UTC (permalink / raw)
  To: agk; +Cc: dm-devel


> On Thu, Aug 10, 2006 at 01:29:08PM +0200, Stefan Bader wrote:
>> But what effect should a missing queue have? Same
>> as device is congested or not or let the call fail somehow?
>  
> I'm curious - under what circumstances is this missing:
> Is it intentional, or is it perhaps a race that needs fixing?
> 

More or less intentional. If a device is (virtually) ripped from the
system the driver will throw everything away. Device-mapper still has a
reference to the bdev but the queue is cleaned and removed.
I am not sure whether the any congested call would ever be triggered in
that situation. But at least the unplug all is when user-space tries to
change the maps to remove or replace the missing device. And very likely
the flush all call would be used as well (probably after that).

Stefan

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-08-15 10:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-15 10:02 [PATCH and question]: dm-table should check for valid queue] Stefan Bader

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.