public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@SteelEye.com>
To: Eric Moore <eric.moore@lsi.com>
Cc: linux-scsi@vger.kernel.org
Subject: Re: [PATCH 4/9] mpt fusion: error recovery improvements, and synchronizing internal commands
Date: Sat, 22 Sep 2007 10:38:39 -0500	[thread overview]
Message-ID: <1190475519.3347.13.camel@localhost.localdomain> (raw)
In-Reply-To: <20070918015801.GA22729@lsil.com>

On Mon, 2007-09-17 at 19:58 -0600, Eric Moore wrote:
> 1) mpt_fault_reset_work - new workthread to quickly handle a card that goes into FAULT state.  Previously handled by eh threads, requiring commands to timeout (SD_TIMEOUT) to recover a card.
> 2) mpt_SoftResetHandler - less expensive method to reset card, other known as MESSAGE_UNIT_RESET-MUR.  The MUR doesn't perform a start_of_day recovery as does mpt_HardResetHandler, hence its quicker recovery time.  Also with MUR, the firmware is not reloaded, and only single pci function will be reset, whereas mpt_HardResetHandler will reset both functions.  An example of dual function card is the U320 1030 chip.
> 3) rewrite of all internal generated functions that issue commands to firmware, porting them to be single threaded using the generic MPT_MGMT struct. Killing all the watchdog timer functions that were previously handling timeout of internal commands, thus addressing race conditions reported by several customers.
> 4) cleanup MPT_SCSI_HOST struct, deleting unused struct members
> 5) cleanup ioc_reset callback handlers, introducing wrappers for synronizing error recovery (mpt_set_taskmgmt_in_progress_flag, mpt_clear_taskmgmt_in_progress_flag), as the fusion firmware only handles one task management request at a time.
> 
> Signed-off-by: Eric Moore <Eric.Moore@lsi.com>

Well, I'll put this in this time.  However, it contains a whole slew of
pointless changes like this:


> -                       mdelay (10);
> +                       udelay (10000);

and

> -               mdelay(1);
> +               udelay(1000);

Which is going to excite the janitors into a frenzy of replace udelay
with mdelay patches, which I can well do without ... please don't do
this type of change unless there's some actual reason for it.

James



  reply	other threads:[~2007-09-22 15:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-18  1:58 [PATCH 4/9] mpt fusion: error recovery improvements, and synchronizing internal commands Eric Moore
2007-09-22 15:38 ` James Bottomley [this message]
2007-09-25  1:26   ` [PATCH 4/9] mpt fusion: error recovery improvements, andsynchronizing " Moore, Eric
2007-09-25 17:34     ` James Bottomley

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=1190475519.3347.13.camel@localhost.localdomain \
    --to=james.bottomley@steeleye.com \
    --cc=eric.moore@lsi.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