public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@SteelEye.com>
To: "Salyzyn, Mark" <mark_salyzyn@adaptec.com>
Cc: SCSI Mailing List <linux-scsi@vger.kernel.org>
Subject: RE: [linux-iscsi-devel] [question] deferred sense
Date: Thu, 06 Jan 2005 09:38:45 -0500	[thread overview]
Message-ID: <1105022325.4319.21.camel@mulgrave> (raw)
In-Reply-To: <60807403EABEB443939A5A7AA8A7458B9B9690@otce2k01.adaptec.com>

On Thu, 2005-01-06 at 09:23 -0500, Salyzyn, Mark wrote:
> However, you would see a similar problem being generated by a need for
> quick and hot system failover and cache synchronization, bubbling all
> the way up to the Linux disk cache; not just at the physical DASD level.
> If the file-system is immune to a deferred failure from cached systems
> (disk, RAID or linux cache), it will be hardened to deal with component
> to complete system failover.

Disc cache usually lies below the layer where failover occurs, so is
definitely not a problem.  If you're thinking of having a writeback
cache in a raid card on a host, then you'll find all the documentation
for clustering will explicitly warn you to switch it to write through (I
know ours does).

> Brute force, with performance penalty, is to periodically flush cache
> (SCSI_SYNC command 0x35 being the weapon of choice), and when that
> completes the Journal is cleansed. Added (performance) value, is to
> survive a failover or deferred failure without the need to do this
> synchronization.

We already do cache sync on shutdown.  The problem with periodic cache
sync is the arrays which have huge caches (EMCs go up to gigabytes)
which take ages to flush, so such a periodic sync can stall a system.

James



  reply	other threads:[~2005-01-06 14:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-06 14:23 [linux-iscsi-devel] [question] deferred sense Salyzyn, Mark
2005-01-06 14:38 ` James Bottomley [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-01-06 14:57 Salyzyn, Mark
2005-01-06 15:50 ` James Bottomley
2005-01-05 17:47 Salyzyn, Mark
2005-01-05 21:51 ` James Bottomley
2005-01-05 22:58   ` Matthew Wilcox
2005-01-06 23:09   ` Bryan Henderson
     [not found] <41DB21D7.5080904@us.ibm.com>
     [not found] ` <20050104234700.GA18343@visi.com>
     [not found]   ` <20050105092144.GB26793@lst.de>
     [not found]     ` <20050105152112.GA8472@visi.com>
2005-01-05 15:23       ` Christoph Hellwig
2005-01-05 16:44         ` James Bottomley
2005-01-06 16:37           ` Tom Coughlan
2005-01-07  0:06             ` Douglas Gilbert
2005-01-11 11:44               ` Douglas Gilbert

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=1105022325.4319.21.camel@mulgrave \
    --to=james.bottomley@steeleye.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mark_salyzyn@adaptec.com \
    /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