Skip to content

Commit ac12a2e

Browse files
authored
Merge pull request #416 from jjhursey/fix-provisional-for-rc
v4: Fix Provisional Markers
2 parents 4e6bbb2 + 20a9245 commit ac12a2e

File tree

3 files changed

+30
-22
lines changed

3 files changed

+30
-22
lines changed

Chap_API_Storage.tex

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
22
% Chapter: Storage support
33
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4-
\chapter{Storage Support Definitions}
4+
\provisionalChapter{Storage Support Definitions}
55
\label{chap:api_storage}
66

7-
\provisionalMarker{}
8-
97
Distributed and parallel computing systems are increasingly embracing storage hierarchies to meet the diverse data management needs of applications and other systems software in a cost-effective manner.
108
These hierarchies provide access to a number of distinct storage layers, with each potentially composed of different storage hardware (e.g., HDD, SSD, tape, PMEM), deployed at different locations (e.g., on-node, on-switch, on-site, WAN), and designed using different storage paradigms (e.g., file-based, object-based).
119
Each of these systems offers unique performance and usage characteristics that storage system users should carefully consider to ensure the most efficient use of storage resources.
@@ -14,12 +12,10 @@ \chapter{Storage Support Definitions}
1412
These attributes can be queried by applications, I/O libraries and middleware, and workflow systems to discover available storage resources and to inform on which resources are most suitable for different I/O workload requirements.
1513

1614
%%%%%%%%%%%
17-
\section{Storage support constants}
18-
15+
\provisionalSection{Storage support constants}
1916
\declarestruct{pmix_storage_medium_t}
20-
\provisionalMarker{}
2117

22-
The \refstruct{pmix_storage_medium_t} is a \code{uint64_t} type that defines a set of bit-mask flags for specifying different types of storage mediums. These can be bitwise OR'd together to accommodate storage systems that mix storage medium types.
18+
The \refstruct{pmix_storage_medium_t}~\provisionalMarker{} is a \code{uint64_t} type that defines a set of bit-mask flags for specifying different types of storage mediums. These can be bitwise OR'd together to accommodate storage systems that mix storage medium types.
2319

2420
\begin{constantdesc}
2521
%
@@ -53,9 +49,8 @@ \section{Storage support constants}
5349
\adviceimplend
5450

5551
\declarestruct{pmix_storage_accessibility_t}
56-
\provisionalMarker{}
5752

58-
The \refstruct{pmix_storage_accessibility_t} is a \code{uint64_t} type that defines a set of bit-mask flags for specifying different levels of storage accessibility (i.e,. from where a storage system may be accessed). These can be bitwise OR'd together to accommodate storage systems that are accessibile in multiple ways.
53+
The \refstruct{pmix_storage_accessibility_t}~\provisionalMarker{} is a \code{uint64_t} type that defines a set of bit-mask flags for specifying different levels of storage accessibility (i.e,. from where a storage system may be accessed). These can be bitwise OR'd together to accommodate storage systems that are accessibile in multiple ways.
5954

6055
\begin{constantdesc}
6156
%
@@ -80,9 +75,8 @@ \section{Storage support constants}
8075
\end{constantdesc}
8176

8277
\declarestruct{pmix_storage_persistence_t}
83-
\provisionalMarker{}
8478

85-
The \refstruct{pmix_storage_persistence_t} type specifies different levels of persistence for a particular storage system.
79+
The \refstruct{pmix_storage_persistence_t}~\provisionalMarker{} type specifies different levels of persistence for a particular storage system.
8680

8781
\begin{constantdesc}
8882
%
@@ -129,7 +123,7 @@ \section{Storage support constants}
129123

130124

131125
%%%%%%%%%%%
132-
\section{Storage support attributes}
126+
\provisionalSection{Storage support attributes}
133127
\label{api:struct:attributes:pstrg}
134128

135129
The following attributes may be returned in response to queries (e.g., \refapi{PMIx_Get} or \refapi{PMIx_Query_info}) made by processes or tools.

pmix-standard.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,12 @@
5656
\setboolean{is_unofficial_draft}{true}
5757

5858
% Text to appear in the footer on even-numbered pages:
59+
% Release candidates are marked as an Unofficial Draft
5960
\ifthenelse{\boolean{is_unofficial_draft}}
60-
{\newcommand{\VER}{4.1 (Draft)}
61+
{\newcommand{\VER}{4.2dev0 (Draft)}
6162
\newcommand{\VERDATE}{\emph{Created on \today}}
6263
}
63-
{\newcommand{\VER}{4.1}
64+
{\newcommand{\VER}{4.2}
6465
\newcommand{\VERDATE}{Month Year}
6566
}
6667
\newcommand{\footerText}{PMIx Standard -- Version \VER{} -- \VERDATE}

pmix.sty

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -241,12 +241,25 @@
241241
% PMIx Standard Process markers
242242
%
243243
% - Provisional items
244-
% \provisionalMarker Add a provisional label to the margin
245-
% \markProvisional Add a provisional label to the margin and highlight the provided text
244+
% \provisionalMarker Add a provisional label
245+
% \markProvisional Add a provisional label and highlight the provided text
246246
%
247247

248+
% Putting this in the margin is not consistently working.
249+
% Instead put this marker in-line in the text.
250+
%\newcommand{\provisionalMarker}[0]{% -14
251+
% \textInMargin{\small{\hl{\textit{Provisional}}}}%
252+
%}
248253
\newcommand{\provisionalMarker}[0]{% -14
249-
\textInMargin{\small{\hl{\textit{Provisional}}}}%
254+
\small{\hl{\textit{(Provisional)}}}%
255+
}
256+
257+
\newcommand{\provisionalChapter}[1]{% -14
258+
\chapter{#1 \small{\textit{(Provisional)}}}%
259+
}
260+
261+
\newcommand{\provisionalSection}[1]{% -14
262+
\section{#1 \small{\textit{(Provisional)}}}%
250263
}
251264

252265
\newcommand{\markProvisional}[1]{% -14
@@ -441,7 +454,7 @@
441454
}
442455

443456
\newcommand{\declareconstitemProvisional}[1]{%
444-
\item[\hl{\code{#1}}]\provisionalMarker{}%
457+
\item[\hl{\code{#1}}] \provisionalMarker{}%
445458
\index[index_const]{#1|indexfmt} \label{const:#1}%
446459
\hspace{1em}%
447460
}
@@ -493,7 +506,7 @@
493506
}
494507

495508
\newcommand{\declareEnvarProvisional}[2]{%
496-
\hl{\code{#1}}\provisionalMarker{}%
509+
\hl{\code{#1}} \provisionalMarker{}%
497510
\index[index_envars]{#1|indexfmt} \label{envar:#1}%
498511
\InternaldeclareEnvar{#1}{#2}%
499512
}
@@ -552,7 +565,7 @@
552565
}
553566

554567
\newcommand{\declareAttributeProvisional}[4]{%
555-
\hl{\code{#1} ~~\code{#2}~~(\code{#3})}\provisionalMarker{}%
568+
\hl{\code{#1} ~~\code{#2}~~(\code{#3})} \provisionalMarker{}%
556569
\index[index_attribute]{#1|indexfmt} \label{attr:#1}%
557570
\InternaldeclareAttributeBody{#1}{#2}{#3}{#4}%
558571
}
@@ -610,7 +623,7 @@
610623
}
611624

612625
\newcommand{\declareapiProvisional}[1]{%
613-
\index[index_api]{#1|indexfmt} \label{apifn:#1}\provisionalMarker{}%
626+
\index[index_api]{#1|indexfmt} \label{apifn:#1} \provisionalMarker{}%
614627
}
615628

616629
\newcommand{\declareapiDEPNODISP}[1]{%
@@ -652,7 +665,7 @@
652665
\index[index_macro]{#1|indexfmt} \label{macro:#1}%
653666
}
654667
\newcommand{\declaremacroProvisional}[1]{%
655-
\index[index_macro]{#1|indexfmt} \label{macro:#1}\provisionalMarker{}%
668+
\index[index_macro]{#1|indexfmt} \label{macro:#1} \provisionalMarker{}%
656669
}
657670

658671
\newcommand{\refmacro}[1]{\index[index_macro]{#1}\hyperref[macro:#1]{\code{#1}}}

0 commit comments

Comments
 (0)