public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Brian King <brking@us.ibm.com>
To: James Bottomley <James.Bottomley@SteelEye.com>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>, haren@us.ibm.com
Subject: Re: [PATCH 1/1] ipr: Fix for adapter shutdown issue
Date: Wed, 15 Jun 2005 10:34:52 -0500	[thread overview]
Message-ID: <42B04A9C.7050503@us.ibm.com> (raw)
In-Reply-To: <1118849292.5045.27.camel@mulgrave>

James Bottomley wrote:
> On Wed, 2005-06-15 at 10:15 -0500, brking@us.ibm.com wrote:
> 
>>Haren found this in some recent kexec testing. Without this fix, the
>>ipr adapter's write cache never gets flushed. I'd like to see this
>>pushed into 2.6.12 if possible.
> 
> 
> Just out of curiosity, what are you doing with the SYNCHRONIZE_CACHE
> that comes down from sd on shutdown?

For scsi disks attached to an ipr adapter, the SYNCHRONIZE_CACHE command
gets sent to the disk and works just like when attached to any other
HBA. The ipr disk array devices, however, do not support the SYNC_CACHE command,
nor do they support the caching mode page, so SYNC_CACHE never gets sent.
So, the shutdown hook is needed to flush the adapter's battery backed write
cache for all attached disk arrays on system shutdown.

-- 
Brian King
eServer Storage I/O
IBM Linux Technology Center

  reply	other threads:[~2005-06-15 15:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-15 15:15 [PATCH 1/1] ipr: Fix for adapter shutdown issue brking
2005-06-15 15:17 ` Christoph Hellwig
2005-06-15 16:01   ` Greg KH
2005-06-15 16:14     ` Brian King
2005-06-15 15:28 ` James Bottomley
2005-06-15 15:34   ` Brian King [this message]
2005-06-15 15:47     ` James Bottomley
2005-06-15 16:11       ` Brian King
2005-06-15 16:44         ` James Bottomley
2005-06-15 17:05           ` Patrick Mansfield
2005-06-15 17:23             ` James Bottomley
2005-06-16 12:00               ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42B04A9C.7050503@us.ibm.com \
    --to=brking@us.ibm.com \
    --cc=James.Bottomley@SteelEye.com \
    --cc=haren@us.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox