<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 14">
<meta name="Originator" content="Microsoft Word 14">
<link rel="File-List" href="cid:filelist.xml@01CD0B85.2EE13740"><link rel="Edit-Time-Data" href="cid:editdata.mso"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:AllowPNG/>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:Zoom>120</w:Zoom>
<w:SpellingState>Clean</w:SpellingState>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:EnvelopeVis/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:DoNotExpandShiftReturn/>
<w:BreakWrappedTables/>
<w:SplitPgBreakAndParaMark/>
<w:EnableOpenTypeKerning/>
</w:Compatibility>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true" DefSemiHidden="true" DefQFormat="false" DefPriority="99" LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false" UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false" UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false" UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false" UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false" UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false" UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false" UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false" UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false" UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;
mso-font-alt:"SymbolProp BT";
mso-font-charset:2;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;
mso-font-alt:"SymbolProp BT";
mso-font-charset:2;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:0 268435456 0 0 -2147483648 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;
mso-font-alt:"Times New Roman";
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-520092929 1073786111 9 0 415 0;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-alt:Tahoma;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-520081665 -1073717157 41 0 66047 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-font-family:Calibri;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-noshow:yes;
mso-style-priority:99;
color:purple;
text-decoration:underline;
text-underline:single;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-noshow:yes;
mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-font-family:Calibri;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
mso-style-unhide:no;
mso-style-qformat:yes;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-font-family:Calibri;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-unhide:no;
mso-style-locked:yes;
mso-style-link:"Balloon Text";
mso-ansi-font-size:8.0pt;
mso-bidi-font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-ascii-font-family:Tahoma;
mso-fareast-font-family:Calibri;
mso-hansi-font-family:Tahoma;
mso-bidi-font-family:Tahoma;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
{mso-style-name:msochpdefault;
mso-style-unhide:no;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-font-family:Calibri;}
span.balloontextchar0
{mso-style-name:balloontextchar;
mso-style-unhide:no;
font-family:"Tahoma","sans-serif";
mso-ascii-font-family:Tahoma;
mso-hansi-font-family:Tahoma;
mso-bidi-font-family:Tahoma;}
span.emailstyle20
{mso-style-name:emailstyle20;
mso-style-unhide:no;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-hansi-font-family:Calibri;
mso-bidi-font-family:Calibri;
color:windowtext;
mso-text-animation:none;
font-weight:normal;
font-style:normal;
text-decoration:none;
text-underline:none;
text-decoration:none;
text-line-through:none;}
span.emailstyle21
{mso-style-name:emailstyle21;
mso-style-unhide:no;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-hansi-font-family:Calibri;
mso-bidi-font-family:Calibri;
color:#1F497D;
mso-text-animation:none;
font-weight:normal;
font-style:normal;
text-decoration:none;
text-underline:none;
text-decoration:none;
text-line-through:none;}
span.emailstyle22
{mso-style-name:emailstyle22;
mso-style-unhide:no;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-hansi-font-family:Calibri;
mso-bidi-font-family:Calibri;
color:#1F497D;
mso-text-animation:none;
font-weight:normal;
font-style:normal;
text-decoration:none;
text-underline:none;
text-decoration:none;
text-line-through:none;}
span.emailstyle23
{mso-style-name:emailstyle23;
mso-style-unhide:no;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-hansi-font-family:Calibri;
mso-bidi-font-family:Calibri;
color:#1F497D;
mso-text-animation:none;
font-weight:normal;
font-style:normal;
text-decoration:none;
text-underline:none;
text-decoration:none;
text-line-through:none;}
span.EmailStyle26
{mso-style-type:personal-reply;
mso-style-noshow:yes;
mso-style-unhide:no;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-hansi-font-family:Calibri;
mso-bidi-font-family:Calibri;
color:#1F497D;
font-weight:normal;
font-style:normal;
text-decoration:none;
text-underline:none;
text-decoration:none;
text-line-through:none;}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
font-size:10.0pt;
mso-ansi-font-size:10.0pt;
mso-bidi-font-size:10.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-hansi-font-family:Calibri;
mso-bidi-font-family:Calibri;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 10]><style>/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Calibri","sans-serif";}
</style><![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="tab-interval:.5in">
<div class="WordSection1">
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:10.0pt;color:#1F497D">I guess we could do that, keep the queue-core association and change just the IV for the CQ, is that what you’re suggesting?<span style="mso-spacerun:yes">
</span><span style="mso-spacerun:yes"> </span>So, for example, below shows what mapping might look like before, then after learning with how I have it coded
<span class="SpellE">vs</span> what you are saying.<span style="mso-spacerun:yes">
</span>If I understand you correctly I do like that way better, <span class="SpellE">
pls</span> take a look below and confirm for me. <o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt">BEFORE<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt">Core
<span style="mso-spacerun:yes"> </span><span style="mso-tab-count:1"> </span>
QP<span style="mso-tab-count:1"> </span>MSIX<span style="mso-tab-count:1">
</span>NUMA<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt">0<span style="mso-tab-count:1">
</span>1<span style="mso-tab-count:1"> </span>1<span style="mso-tab-count:1">
</span>0<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt">1<span style="mso-tab-count:1">
</span>2<span style="mso-tab-count:1"> </span>2<span style="mso-tab-count:1">
</span>1<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt">2<span style="mso-tab-count:1">
</span>3<span style="mso-tab-count:1"> </span>3<span style="mso-tab-count:1">
</span>2<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt">WHAT I’M DOING<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt">Core
<span style="mso-spacerun:yes"> </span><span style="mso-tab-count:1"> </span>
QP<span style="mso-tab-count:1"> </span>MSIX<span style="mso-tab-count:1">
</span>NUMA<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt">0<span style="mso-tab-count:1">
</span>8<span style="mso-tab-count:1"> </span>8<span style="mso-tab-count:1">
</span>0<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt">1<span style="mso-tab-count:1">
</span>1<span style="mso-tab-count:1"> </span>1<span style="mso-tab-count:1">
</span>1<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt">2<span style="mso-tab-count:1">
</span>2<span style="mso-tab-count:1"> </span>2<span style="mso-tab-count:1">
</span>2<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt">WHAT YOU ARE SUGGESTING<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt">Core
<span style="mso-spacerun:yes"> </span><span style="mso-tab-count:1"> </span>
QP<span style="mso-tab-count:1"> </span>MSIX<span style="mso-tab-count:1">
</span>NUMA<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt">0<span style="mso-tab-count:1">
</span>1<span style="mso-tab-count:1"> </span>8<span style="mso-tab-count:1">
</span>0<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt">1<span style="mso-tab-count:1">
</span>2<span style="mso-tab-count:1"> </span>1<span style="mso-tab-count:1">
</span>1<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt">2<span style="mso-tab-count:1">
</span>3<span style="mso-tab-count:1"> </span>2<span style="mso-tab-count:1">
</span>2<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:10.0pt"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:10.0pt;color:#1F497D"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:10.0pt;color:#1F497D"><o:p> </o:p></span></font></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New Roman";font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New Roman"">
Chang, Alex [mailto:Alex.Chang@idt.com] <br>
<b><span style="font-weight:bold">Sent:</span></b> Monday, March 26, 2012 6:41 PM<br>
<b><span style="font-weight:bold">To:</span></b> Luse, Paul E; nvmewin@lists.openfabrics.org<br>
<b><span style="font-weight:bold">Subject:</span></b> RE: Learning Mode Patch for Review - UPDATED<o:p></o:p></span></font></p>
</div>
</div>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p> </o:p></span></font></p>
<div>
<p class="MsoNormal"><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New Roman";color:black">Hi Paul,
<o:p></o:p></span></font></p>
<div>
<p class="MsoNormal"><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New Roman";color:black"><o:p> </o:p></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New Roman";color:black">In the changes of nvmestat.c, you mentioned:<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-font-family:"Times New Roman";color:#1F497D">NVMeRunningWaitOnReSetupQueues(). Delete the queues (frees
the mem also), set the flag to indicate that we need to allocate them again and then jump back to the state where we allocate them.</span></font><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New Roman";color:black"><o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New Roman";color:black">I am not sure it's necessary to free the allocated IO queue memory. Isn't
it enough to adjust the mapping between cores and queues after re-creating the queue?<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New Roman";color:black"><o:p> </o:p></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New Roman";color:black">Thanks,<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New Roman";color:black">Alex<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New Roman";color:black"><o:p> </o:p></span></font></p>
</div>
<div>
<div>
<p class="MsoNormal" style="text-indent:-.25in"><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New Roman";color:black"><o:p> </o:p></span></font></p>
</div>
<div>
<p class="MsoNormal" style="text-indent:-.25in"><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New Roman";color:black"><o:p> </o:p></span></font></p>
</div>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><font size="3" color="black" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-font-family:"Times New Roman";color:black">
<hr size="3" width="100%" align="center">
</span></font></div>
<div id="divRpF874637">
<p class="MsoNormal" style="margin-bottom:12.0pt;mso-outline-level:1"><b><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New Roman";color:black;font-weight:bold">From:</span></font></b><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-font-family:"Times New Roman";color:black">
<a href="mailto:nvmewin-bounces@lists.openfabrics.org">nvmewin-bounces@lists.openfabrics.org</a> [nvmewin-bounces@lists.openfabrics.org] on behalf of Luse, Paul E [paul.e.luse@intel.com]<br>
<b><span style="font-weight:bold">Sent:</span></b> Monday, March 26, 2012 5:52 PM<br>
<b><span style="font-weight:bold">To:</span></b> <a href="mailto:nvmewin@lists.openfabrics.org">
nvmewin@lists.openfabrics.org</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [nvmewin] Learning Mode Patch for Review - UPDATED</span></font><font size="3" color="black" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-font-family:"Times New Roman";color:black"><o:p></o:p></span></font></p>
</div>
<div>
<div>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:10.0pt;color:#1F497D">Quick testing update: ran into a QEMU bug that I’ve since fixed and enabled me to continue testing. There will be a few small tweaks to the package
I sent out but nothing major. I have to head to the OFA developer workshop for the next two days so will pick up on this again Thu. I won’t schedule the review until I get everything 100% tested.</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:10.0pt;color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:10.0pt;color:#1F497D">Thx<br>
Paul</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:10.0pt;color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="mso-outline-level:1"><b><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black;font-weight:bold">From:</span></font></b><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">
Luse, Paul E <br>
<b><span style="font-weight:bold">Sent:</span></b> Friday, March 23, 2012 4:25 PM<br>
<b><span style="font-weight:bold">To:</span></b> <a href="mailto:nvmewin@lists.openfabrics.org">
nvmewin@lists.openfabrics.org</a><br>
<b><span style="font-weight:bold">Subject:</span></b> Learning Mode Patch for Review - UPDATED</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
</div>
</div>
<p class="MsoNormal"><font size="2" color="black" face="Calibri"><span style="font-size:11.0pt;color:black"> <o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Here are the changes in addition to the ones below to accommodate the deletion/recreation of queues
as part of learning mode. Looks like a lot only because I touched a lot of functions for cleanup in a few areas
</span></font><font size="3" color="#1f497d" face="Wingdings"><span style="font-size:12.0pt;font-family:Wingdings;color:#1F497D">J</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">I’m not totally done testing, I only have the final queue deletion to step through and am having a
small challenge w/QEMU and my proto HW doesn’t support deleting queues, I’ll get it figured out soon though. I’ll setup a review for late next week, if anyone would like more time let me know – there’s no blazing hurry on this but I do think we want this
to be our first release (so we’re actually NUMA optimized)</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Pw is ofanvme123</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">nvmeStd.h</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Up’d the poll mode timeout from 1 to 3 and renamed it as its now used for more than just crashdump, it’s a
generic polling retry value</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">New error states and also I repurposed this from an init state machine specific set of errors to general errors
that may throw the driver into a ‘shutdown state’ as well. The shutdown routine was using this enum and the driver state to indicate shutdown before however the names/usages were all related to the init state machine which I think could be confusing for new
folks reading the code</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Added 2 new init states, learning and re-setting up the queues</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">A few fairly obvious changes to support logic changes in the C code described later</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Fixed the device state timeout counter, was a UCHAR and not big enough to handle our timeout counter</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:0in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">nvmeInit.h</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> New parm for the alloc queue function, need to tell it how many entries on the queue as we don’t need large
queues for learning and it’s a waste of alloc/free larger than needed contiguous chunks of memory if we used one size</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">nvmeStd.c</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">By default I set the # of queues to create for learning to the previously defined minimum for the driver</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Multiple changes where calling NVMeAllocQueues() to pass the new parm, # of queue entries</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Multiple changes where I renamed StartState to DriveState to reflect how we’re using it anyway</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">In NVMeInitialize() removed the init of num Q’s allocated elements in queue info, its overwritten later regardless</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Some refactoring in both the ISR and DPC around the logic where we decide whether we need to call storportNotification
or not, with the new condition added (whether caller wants synchronous IO or not) it was too confusing to try and work it into the previous set of conditions</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">This is where we clear the srbExt synchronous flag which, for sync IO, tells the caller (more on this later)
that the IO has now completed</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Fixed the passiveInit timeout handler, it was relying on the time drive state machine thread to switch states,
if it hung then this would never happen so we’d spin forever. So, made passiveInit do the time based timing and removed from the init machine (don’t need to time in both places)</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Removed the startiolock from the learning mode condition in the ISR/DPC, not needed until we implement concurrent_channels</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">nvmeStat.c</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Multiple changes where I renamed StartState to DriveState to reflect how we’re using it anyway</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Addition of 2 new states in NVMeRunning()</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">State handler added: NVMeRunningWaitOnLearnMapping(). If we’re in sub-optimal conditions to begin with or
if we’ve already done this state, we skip the learning and re-setup queues states. Also, if no namespace exists there’s no way to learn so we just skip init learning and go non-NUMA optimized. The existing learning logic will pick the right queue and adjust
the mapping tables (so we still learn as the host sends IOs) we just won’t resetup the queues. The completion side will go back to this state if we have more IOs to learn. FLUSH is a mandatory command (and doesn’t require data xfer) so it was the logical
choice here however I made it a read of 1 block in case IHV’s have issues with flush (either not supporting or not wanting a flush on every boot for whatever reason).</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">State handler added: NVMeRunningWaitOnReSetupQueues(). Delete the queues (frees the mem also), set the flag
to indicate that we need to allocate them again and then jump back to the state where we allocate them. Learning won’t happen again because the learning state handler will recognize that its been completed once</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Moved timeout check to passive init thread</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">nvmeSnti.c</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">renamed StartState to DriveState to reflect how we’re using it anyway</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">nvmeIO.c</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">changes here support being able to do sync IO. The shutdown routines, which I reused for learning mode resetup,
needed sync IO but hadn’t added it so this is technically a change that was needed anyway</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">moved the NVMeIssueCmd() ret value check to after the call (was in the wrong place)</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">after we issue the command, we handle polling for crashdump same as before (where there are no INTs)</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">after we handle crashdump, added we poll here for sync IO to complete but because INTs are enabled, we don’t
poll by calling the ISR, we just wait for the ISR to fire and clear the flag in the srbExt that’s set if the IO is sync</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">nvmeInit.h</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">function proto change for new parm</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">nvmeInit.c</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">NVMeAllocQueues() changed to accept a parm for # of entries to alloc</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Multiple changes where I renamed StartState to DriveState to reflect how we’re using it anyway</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">New callback: NVMeDeleteQueueCallback. Simply decrements the # of deleted queues if no error</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">In the init callback for the NVMeWaitOnIoSQ state, we now check how many cores we’ve learned and skip learning
if done. Otherwise we move to the learning state</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">In the init callback, new case for NVMeWaitOnLearnMapping: If we have more cores to learn, stay in this state,
otherwise move onto remapping/setting up queues. There’s no new completion state for resttting up the queues, things will then end in the NVMeWaitOnIoSQ</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Added missing default handler</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">In both delete queues functions, changes to support making them synchronous</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">In NVMeAllocIoQueues() we set the number of queues we want based on learning mode or not</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:0in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Sources</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">-</span></font><font size="1" color="#1f497d" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span></font><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Removed QEMU define as we only used it for some asserts that are no longer needed w/learning mode</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:0in"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D">Also throughout you’ll find a new call NVMeDriverFatalError() that replaces
a bunch of places where we were setting and error code, setting a state and logging an error. There’s one parm in here to indicate whether its being called from the init state machine or not so it nows whether to fire off the arbiter. That way this single
call can be used anywhere to flag a fatal error, log it in the system log and change the DriverState to avoid accepting new IO. This is clearly only for cases when we want to stop accepting IO or simply cannot.</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="3" color="#1f497d" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<div class="MsoNormal" align="center" style="text-align:center"><font size="3" color="black" face="Times New Roman"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-font-family:"Times New Roman";color:black">
<hr size="3" width="100%" align="center">
</span></font></div>
<p class="MsoNormal" style="margin-bottom:12.0pt;mso-outline-level:1"><b><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black;font-weight:bold">From:</span></font></b><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">
</span></font><font color="black"><span style="color:black"><a href="mailto:nvmewin-bounces@lists.openfabrics.org" target="_blank"><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">nvmewin-bounces@lists.openfabrics.org</span></font></a></span></font><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">
</span></font><font color="black"><span style="color:black"><a href="mailto:[mailto:nvmewin-bounces@lists.openfabrics.org]" target="_blank"><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">[mailto:nvmewin-bounces@lists.openfabrics.org]</span></font></a></span></font><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">
<b><span style="font-weight:bold">On Behalf Of </span></b>Luse, Paul E<br>
<b><span style="font-weight:bold">Sent:</span></b> Friday, March 16, 2012 9:42 AM<br>
<b><span style="font-weight:bold">To:</span></b> </span></font><font color="black"><span style="color:black"><a href="mailto:nvmewin@lists.openfabrics.org" target="_blank"><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">nvmewin@lists.openfabrics.org</span></font></a></span></font><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"><br>
<b><span style="font-weight:bold">Subject:</span></b> [nvmewin] ***UNCHECKED*** Learning Mode Patch for Review<br>
<b><span style="font-weight:bold">Importance:</span></b> High</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><i><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black;font-style:italic">Note that I merged Alex’s patch in here as it’s still pending with Ray but is only a half-dozen lines of code so rather than have
Ray create to tags and do 2 merges I just rolled them together so Ray can just process one patch. Normally wouldn’t recommend this but the pending patch is so small it just makes sense.</span></font></i><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">Password is ofanvme123. I can schedule a call to walk through any of this if anyone would like.</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><b><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black;font-weight:bold">Learning Mode:</span></font></b><font size="2" color="black"><span style="font-size:10.0pt;color:black"> Pretty easy, its only enabled
if we’re in an optimal config wrt cores/queues/vectors. Assume we have N processors, it works like this…. On startup the first N IOs will be sent to queue # 1..N sequentially. Each queue is created with a matching MSI ID so in this manner we assure to hit
every queue and every message ID by incrementing the queue # for the first N IOs regardless of the submitting core. On the completion side we simply look at the core that we completed on and update the table for the completing core such that the correct queues
are used the next time an IO submits to this core.</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><b><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black;font-weight:bold">Testing:
</span></font></b><font size="2" color="black"><span style="font-size:10.0pt;color:black">(in all cases I confirmed functionality<b><span style="font-weight:bold">
</span></b>and via iometer and<b><span style="font-weight:bold"> </span></b>xperf I confirmed core load balancing)</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Chatham (DT with 8 cores): Win8 Server public beta, 2008R2</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">QEMU (configured for 2 cores): Win7-64</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Tools: The standard stuff: format, stress, iometer, SCSI compliance, shutdown/restart</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><b><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black;font-weight:bold">Changes:</span></font></b><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">nvmeStd.h:
</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Comment changes as needed</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Removed the logcalmode element from the msgTable as its no longer used</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Removed DBG directive from procNum element, its now required for learning mode</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Removed proto for NVMeMsixMapCores, not used anymore (combined MSI and MSIX routines, more later)</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:0in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">nvmeIo.c:</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Removed DBG directive from procNum element, its now required for learning mode</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:0in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">nvmeInit.c</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Removed NVMeSwap(),NVMeQuickSort(),NVMeMsixMapCores() as they’re no longer used</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Changes to NVMeMsiMapCores():</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in"><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New";color:black">o</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Set the initial core table MsgID to the CplQ number, this is needed so that we can determine the CplQ from the MsgId during learning mode while in the DPC/ISR</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in"><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New";color:black">o</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">The other changes are just code simplifications
</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Changed NVMeCompleteResMapTbl() to use NVMeMsiMapCores() for either MSI or MSIX</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Changed NVMeMapCore2Queue():</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in"><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New";color:black">o</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">We now check if we’re in learning mode, if not then we simply look up the queue num from the core table</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in"><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New";color:black">o</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">If we’re in learning mode (based on a simple count of how many cores we’ve learned vs total available cores), then we use the core number that we’re on (that we’re learning)
+ 1, the +1 is because all queue numbers are core+1 by our convention</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Change in NVMeAllocIoQueues() to effectively disable learning mode if we only have 1 queue (it makes no sense and actually causes problems for learning mode if we don’t do
this). We disable it by pretending that we’ve already learned all the cores</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">nvmeStd.c:</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">In NVMePassiveInitialize(), disable learning mode is we’re sharing one MSI over multiple queues, same reasons as when we hae one queue</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">In NVMeInitialize():</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in"><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New";color:black">o</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Enable DPC perf opt per Msft recommendation to steer stoport completion DPCs back to the submitting core</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">In NVMeStartIo() – bug fix unrelated to learning mode but I found it while debugging learning mode (via BSOD). You can’t return FALSE from this function per MSDN docs. Always
return TRUE</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">In IoCompletionDpcRoutine() and same changes in the ISR when its enabled for completions instead:</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in"><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New";color:black">o</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Merged Alex’s bugfixes in with my changes</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in"><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New";color:black">o</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Removed the DBG related code for checking core affiliation</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in"><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New";color:black">o</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Where we decide which queues to check, I set a Boolean to determine if we’re learning or not to FALSE if we’re in shared mode because we disable learning mode during init
if that’s the case</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in"><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New";color:black">o</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">If we’re not shared, the learning Boolean is set based on how many cores we’ve learned and whether the MsgId is >0 as MsgId 0 is admin and we exclude that from learning mode</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in"><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New";color:black">o</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">If we’re not learning then, we only search the queue specified in the MMT</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in"><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New";color:black">o</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">If we are learning, we know the queue # is the same as the MsdId because we init’d it that way</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:1.0in;text-indent:-.25in"><font size="2" color="black" face="Courier New"><span style="font-size:10.0pt;font-family:"Courier New";color:black">o</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">The ‘learning’ happens in a new coniditonal just after we determine we have an srbExt. It works as follows:</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:1.5in;text-indent:-.25in"><font size="2" color="black" face="Wingdings"><span style="font-size:10.0pt;font-family:Wingdings;color:black">§</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Grab the startIO lock as we’re sharing the core table with startIO and during learning mode we’re not yet assured that start/complete are on the same core. Note the lock
is only taken on IOs during learning mode (the first few IOs)</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:1.5in;text-indent:-.25in"><font size="2" color="black" face="Wingdings"><span style="font-size:10.0pt;font-family:Wingdings;color:black">§</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Lookup the CT entry for the core that we’re completing on and set its queue numbers to queue number that was associated with the IO that just completed. This assures that
the next lookup in the table for this core # will complete on this, the same, core.</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="margin-left:1.5in;text-indent:-.25in"><font size="2" color="black" face="Wingdings"><span style="font-size:10.0pt;font-family:Wingdings;color:black">§</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Increment our learning counter which will direct the next IO to the next core</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font size="2" color="black"><span style="font-size:10.0pt;color:black">Unrelated changes to NVMeProcessIoctl(): A few changes were made here as the routine assumed every IOCTL we’d get would be a PT IOCTL making it difficult for venders to add
additional private IOCTLs. Just moved things around a bit as we had to add one to our product specific code. No other changes here other than placing IOCTL specific code in the correct case block</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black">-</span></font><font size="1" color="black" face="Times New Roman"><span style="font-size:7.0pt;font-family:"Times New Roman","serif";color:black">
</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="black" face="Calibri"><span style="font-size:10.0pt;color:black"> </span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">____________________________________</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="black" face="Tahoma"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">Paul Luse<br>
Sr. Staff Engineer<br>
PCG Server Software Engineering <br>
Desk: 480.554.3688, Mobile: 480.334.4630</span></font><font color="black"><span style="color:black"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="black" face="Calibri"><span style="font-size:11.0pt;color:black"> <o:p></o:p></span></font></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>