public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: fibre channel sync cache question
@ 2006-07-25 22:28 Moore, Eric
  2006-07-25 22:39 ` Arjan van de Ven
  0 siblings, 1 reply; 8+ messages in thread
From: Moore, Eric @ 2006-07-25 22:28 UTC (permalink / raw)
  To: Michael Reed, linux-scsi; +Cc: James Smart, dougg

-- Tuesday, July 25, 2006 4:22 PM, Michael Reed wrote: 

> Using fibre channel disks, I've noticed that when the system 
> shuts down
> that the sd_driver issues a sync cache command to the device. 
>  I've also
> noticed that when the lldd is removed via rmmod that this 
> sync cache is
> not executed.  I would think that the sync cache would be desirable
> under this circumstance.
> 

This is not handled from sg path as well.  Meaning if you
use sdparm, and enable the caching page WCE bit, then reboot,
there is no SYNC cache issued from above. 

We handle this in fusion drivers due to short coming from above.

Eric

^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: fibre channel sync cache question
@ 2006-07-25 22:51 Moore, Eric
  0 siblings, 0 replies; 8+ messages in thread
From: Moore, Eric @ 2006-07-25 22:51 UTC (permalink / raw)
  To: Arjan van de Ven; +Cc: dougg, James Smart, linux-scsi, Michael Reed

-- Tuesday, July 25, 2006 4:40 PM, Arjan van de Ven 

> 
> Hi,
> 
> that sounds sooo like the wrong approach... wouldn't it be 
> better to fix
> sg instead?
> 
> 

Agreed.  We want to remove our sync cache code when its fully handled
from all cases above.

^ permalink raw reply	[flat|nested] 8+ messages in thread
* fibre channel sync cache question
@ 2006-07-25 22:22 Michael Reed
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Reed @ 2006-07-25 22:22 UTC (permalink / raw)
  To: linux-scsi; +Cc: James Smart, Moore, Eric Dean, Michael Reed

Hello All,

Using fibre channel disks, I've noticed that when the system shuts down
that the sd_driver issues a sync cache command to the device.  I've also
noticed that when the lldd is removed via rmmod that this sync cache is
not executed.  I would think that the sync cache would be desirable
under this circumstance.

Was it a conscious decision to not have sync cache executed during
module unload?

Is it desirable?

(There are various reasons why it doesn't work.  The rport port_state
is not ONLINE, the module is being unloaded so that a reference cannot
be acquired, the sdev state is SDEV_CANCEL.  Three strikes and you're
out?)


Mike




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-07-26 20:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-25 22:28 fibre channel sync cache question Moore, Eric
2006-07-25 22:39 ` Arjan van de Ven
2006-07-26  3:51   ` Douglas Gilbert
2006-07-26 18:20     ` Michael Reed
2006-07-26 18:40       ` Michael Reed
2006-07-26 20:22       ` Stefan Richter
  -- strict thread matches above, loose matches on Subject: below --
2006-07-25 22:51 Moore, Eric
2006-07-25 22:22 Michael Reed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox