[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dm-devel
Subject:    Re: [dm-devel] [multipath] SCSI device capacity mess
From:       christophe varoqui <christophe.varoqui () free ! fr>
Date:       2004-10-30 8:22:43
Message-ID: 1099124563.27274.50.camel () zezette
[Download RAW message or body]


> > Plus, we only call sd_spinup_disk() during discovery and not on open,
> > unlike the calls to sd_media_changed().
> > 
> Would it be workable to add a scsi_devinfo flag for devices with ghosts.
> If this flag is set and state is down, open calls sd_media_changed().
> The multipath-tools and device-mapper will try as hard as possible to
> avoid opening those device if not necessary, by grouping them in a low
> priority path group.
> 
In fact the NOSTARTONADD flag seems just used for devices with ghosts
paths. So we could extend its logic : no start on add, but start on IO
is state is down.

SG_IO should not activate the path though, for the path checker not to
activate it.

regards,
-- 
christophe varoqui <christophe.varoqui@free.fr>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic