From: Ian Jackson <ian.jackson@eu.citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: [OSSTEST PATCH 1/3] README.planner: Improve internals documentation a bit
Date: Mon, 24 Jul 2017 15:41:42 +0100 [thread overview]
Message-ID: <1500907304-12791-2-git-send-email-ian.jackson@eu.citrix.com> (raw)
In-Reply-To: <1500907304-12791-1-git-send-email-ian.jackson@eu.citrix.com>
* share-flight resources may end up owned by a different task to their
shareix, perhaps as a result of test database operations or perhaps
as a result of donation with mg-allocate. This should not be a
problem.
* Document the xdbref task type.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
README.planner | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/README.planner b/README.planner
index f3cab53..b3b41a9 100644
--- a/README.planner
+++ b/README.planner
@@ -133,6 +133,10 @@ Types of task
mg-execute-flight). They are automatically created and destroyed -
see above.
+ * `xdbref' tasks. These are used to own resources whose allocation
+ authority has been transferred to a separate database, eg a test
+ database. The refkey is an indication of the other database.
+
* magic task numbers with special meanings:
magic/allocatable
@@ -211,10 +215,11 @@ Flights can be protected (preserved) by allocating them with
Flights are represented by restype='share-flight' entries in the
resources table. Conventionally, the shareix is the owning taskid.
-This allows multiple tasks to lock a single flight. There is no
-corresponding entry with restype='flight', nor a resource_sharing
-entry. mg-allocate will create and clean up share-flight entries as
-needed.
+(This is not a constraint, because the convention can be violated by
+transfer of ownerships.) This allows multiple tasks to lock a single
+flight. There is no corresponding entry with restype='flight', nor a
+resource_sharing entry. mg-allocate (and other tools) will create and
+clean up share-flight entries as needed.
DETAILED PROTOCOL NOTES
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
next prev parent reply other threads:[~2017-07-24 14:42 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-08 7:46 [PATCH v5 00/17] osstest: initial FreeBSD support Roger Pau Monne
2017-07-08 7:46 ` [PATCH v5 01/17] osstest: make built_stash_file store a path_ runvar for each file Roger Pau Monne
2017-07-08 7:46 ` [PATCH v5 02/17] osstest: move known_hosts generation to TestSupport Roger Pau Monne
2017-07-08 7:46 ` [PATCH v5 03/17] osstest: introduce helper to get per-host tftp prefix Roger Pau Monne
2017-07-08 7:46 ` [PATCH v5 04/17] osstest: introduce a helper to calculate the sha256 of a given file Roger Pau Monne
2017-07-08 7:47 ` [PATCH v5 05/17] osstest: introduce a helper to setup a host to boot using memdisk Roger Pau Monne
2017-07-08 7:47 ` [PATCH v5 06/17] osstest: add executive prefix to resource_shared_mark_ready Roger Pau Monne
2017-07-19 15:33 ` Ian Jackson
2017-07-08 7:47 ` [PATCH v5 07/17] osstest: introduce rename_shared_mark_ready Roger Pau Monne
2017-07-19 15:34 ` Ian Jackson
2017-07-08 7:47 ` [PATCH v5 08/17] osstest: add a FreeBSD host install script Roger Pau Monne
2017-07-19 15:35 ` Ian Jackson
2017-07-08 7:47 ` [PATCH v5 09/17] osstest: introduce build helpers for FreeBSD Roger Pau Monne
2017-07-08 7:47 ` [PATCH v5 10/17] osstest: add support for the FreeBSD package manager Roger Pau Monne
2017-07-19 15:38 ` Ian Jackson
2017-07-08 7:47 ` [PATCH v5 11/17] osstest: introduce a FreeBSD build script Roger Pau Monne
2017-07-19 15:40 ` Ian Jackson
2017-07-08 7:47 ` [PATCH v5 12/17] osstest: add support for runtime_IDENT_hostflags Roger Pau Monne
2017-07-19 15:41 ` Ian Jackson
2017-07-08 7:47 ` [PATCH v5 13/17] osstest: introduce a script to set the runtime hostflags runvar for FreeBSD jobs Roger Pau Monne
2017-07-19 15:44 ` Ian Jackson
2017-07-08 7:47 ` [PATCH v5 14/17] osstest: change the meaning of need_build_host Roger Pau Monne
2017-07-19 15:48 ` Ian Jackson
2017-07-08 7:47 ` [PATCH v5 15/17] osstest: add support for FreeBSD buildjobs to sg-run-job Roger Pau Monne
2017-07-19 15:49 ` Ian Jackson
2017-07-19 15:50 ` Ian Jackson
2017-07-08 7:47 ` [PATCH v5 16/17] osstest: introduce a script to create a FreeBSD flight Roger Pau Monne
2017-07-08 7:47 ` [PATCH v5 17/17] osstest: hook FreeBSD flight into cr-daily-branch Roger Pau Monne
2017-07-20 15:15 ` Missing bits for production usage (was: [PATCH v5 00...) Roger Pau Monne
2017-07-20 15:57 ` Ian Jackson
2017-07-20 16:11 ` Roger Pau Monne
2017-07-24 14:41 ` [OSSTEST PATCH 0/3] Introduce anointments Ian Jackson
2017-07-24 14:41 ` Ian Jackson [this message]
2017-07-24 14:41 ` [OSSTEST PATCH 2/3] schema updates: mg-schema-test-database: Cope with breaking updates Ian Jackson
2017-07-24 14:41 ` [OSSTEST PATCH 3/3] anointments: Introduce anointment scheme, and mg-anoint script Ian Jackson
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=1500907304-12791-2-git-send-email-ian.jackson@eu.citrix.com \
--to=ian.jackson@eu.citrix.com \
--cc=xen-devel@lists.xenproject.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;
as well as URLs for NNTP newsgroup(s).