From: James Smart <James.Smart@Emulex.Com>
To: Michael Reed <mdr@sgi.com>
Cc: linux-scsi <linux-scsi@vger.kernel.org>
Subject: Re: [RFC] [Last Rites] fc transport: extensions for fast fail and dev loss
Date: Thu, 10 Aug 2006 12:38:51 -0400 [thread overview]
Message-ID: <44DB611B.5020001@emulex.com> (raw)
In-Reply-To: <44D9FFCE.4040702@sgi.com>
Michael Reed wrote:
> In thinking about this over night, I would like to withdraw my previous
> comments. (Hence the snip!)
>
> Let's take the case of real time capture from a device and
> post processing of that data. The capture operation would
> likely want a fast fail to avoid dropping data. The post
> processing of that data would like to wait for the device
> to return to avoid disruption and potential premature termination
> of the job.
>
> Under the above scenario, assuming it's a valid scenario, are there
> mechanisms in place to allow an application to tag an i/o stream
> for fast fail?
Two comments:
- This conflicts with Christoph's last comment about fast_fail failing all
i/o's. I prefer the fail all, as its the easier, more straight-forward
approach. Easiest to explain behavior for too.
- As for tagging i/o from an application, the only places I see in the
kernel setting the flags that make REQ_FAILFAST get set are strictly
in-the-kernel items (multipath). I don't see any way for an application
to mark this. It implies that to do what you stated above, requires the
app has to serially perform each mode - and to do so at a target level.
E.g. set fast fail, perform capture, set no fast fail, perform post
processing.
-- james s
next prev parent reply other threads:[~2006-08-10 16:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-20 18:45 [RFC] fc transport: extensions for fast fail and dev loss James Smart
2006-07-25 17:12 ` Mike Christie
2006-07-25 18:49 ` James Smart
2006-07-25 21:15 ` Michael Reed
2006-07-26 3:33 ` James Smart
2006-07-26 9:20 ` Christoph Hellwig
2006-07-26 16:35 ` James Smart
2006-08-08 17:54 ` [RFC] [Last Rites] " James Smart
2006-08-08 21:56 ` Michael Reed
2006-08-08 22:15 ` Michael Reed
2006-08-09 15:31 ` Michael Reed
2006-08-10 16:38 ` James Smart [this message]
2006-08-09 17:36 ` Christoph Hellwig
2006-08-10 16:17 ` James Smart
2006-08-10 20:01 ` Mike Christie
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=44DB611B.5020001@emulex.com \
--to=james.smart@emulex.com \
--cc=linux-scsi@vger.kernel.org \
--cc=mdr@sgi.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.