All of lore.kernel.org
 help / color / mirror / Atom feed
From: Doug Ledford <dledford@redhat.com>
To: Kurt Garloff <garloff@suse.de>
Cc: Linda Lee <lindaclee2002@yahoo.com>, linux-scsi@vger.kernel.org
Subject: Re: SCSI reserve/release
Date: Thu, 27 Feb 2003 18:32:25 -0500	[thread overview]
Message-ID: <3E5EA009.2070401@redhat.com> (raw)
In-Reply-To: <20030227225334.GB14200@nbkurt>

Kurt Garloff wrote:

> You can do this. But note that you will lose the reservation
> on a reset of the SCSI bus which can occur due to error handling
> of your box (or another one). As long as the kernel does not
> keep track of reservation states (or you invent some notification
> mechanism for SCSI resets to user space), you can't handle this
> reliably.

That's not entirely true.  The package I posted a note about a few 
minutes ago does in fact handle this via a means of cooperative 
reservation operations.  In other words, you can't do it reliably in a 
hostile environment, but by enacting a few policy rules (which my app 
does) and then adhering to those rules, you can.


-- 
   Doug Ledford <dledford@redhat.com>     919-754-3700 x44233
          Red Hat, Inc.
          1801 Varsity Dr.
          Raleigh, NC 27606



  reply	other threads:[~2003-02-27 23:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-27 20:51 SCSI reserve/release Linda Lee
2003-02-27 22:53 ` Kurt Garloff
2003-02-27 23:32   ` Doug Ledford [this message]
2003-02-27 23:21 ` Doug Ledford

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=3E5EA009.2070401@redhat.com \
    --to=dledford@redhat.com \
    --cc=garloff@suse.de \
    --cc=lindaclee2002@yahoo.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 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.