Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1210953

Re: Persistent Reservation API V2

From Christoph Hellwig <hch@lst.de>
Newsgroups linux.kernel
Subject Re: Persistent Reservation API V2
Date 2015-08-21 09:10 +0200
Message-ID <pZOCC-4RE-25@gated-at.bofh.it> (permalink)
References <pWxHY-4Bz-5@gated-at.bofh.it> <pZHUt-3qg-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Aug 20, 2015 at 11:56:36PM +0000, Keith Busch wrote:

> NVMe can also specify
> if whether or not a reservation should persist through power-loss.

SCSI does as well, it's the APTPL flag.  However reservations not persistent
through a power loss are basically useless, so I decided to force them on
in the API.  From the documentation:

"All implementations are expected to ensure the reservations survive
 a power loss"

So I would prefer not to add it, or if we really have to as a negative flag
to specifically opt out of the APTPL behavior.

> with it. For example, NVMe can ignore existing keys when acquiring a
> reservation in addition to registering a new key.

This sounds like a sensible addition to me, and I wouldn't be surprised
if future SPC versions will add this flag.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Persistent Reservation API V2 Keith Busch <keith.busch@intel.com> - 2015-08-21 02:00 +0200
  Re: Persistent Reservation API V2 Christoph Hellwig <hch@lst.de> - 2015-08-21 09:10 +0200

csiph-web