<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ks_c_5601-1987">


<META content=Word.Document name=ProgId>
<META content="MSHTML 6.00.2800.1515" name=GENERATOR>
<META content="Microsoft Word 11" name=Originator><LINK 
href="cid:filelist.xml@01C5B859.8FF44E40" rel=File-List><!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:DontDisplayPageBoundaries/>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:EnvelopeVis/>
  <w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
  <w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
  <w:ValidateAgainstSchemas/>
  <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
  <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
  <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
  <w:Compatibility>
   <w:SpaceForUL/>
   <w:BalanceSingleByteDoubleByteWidth/>
   <w:DoNotLeaveBackslashAlone/>
   <w:ULTrailSpace/>
   <w:DoNotExpandShiftReturn/>
   <w:AdjustLineHeightInTable/>
   <w:BreakWrappedTables/>
   <w:SnapToGridInCell/>
   <w:WrapTextWithPunct/>
   <w:UseAsianBreakRules/>
   <w:UseWord2002TableStyleRules/>
   <w:UseFELayout/>
  </w:Compatibility>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:LatentStyles DefLockedState="false" LatentStyleCount="156">
 </w:LatentStyles>
</xml><![endif]-->
<STYLE>@font-face {
        font-family: ¹ÙÅÁ;
}
@font-face {
        font-family: ±¼¸²;
}
@font-face {
        font-family: Century Gothic;
}
@font-face {
        font-family: @±¼¸²;
}
@font-face {
        font-family: @¹ÙÅÁ;
}
@page  {mso-page-border-surround-header: no; mso-page-border-surround-footer: no; }
@page Section1 {size: 595.3pt 841.9pt; margin: 99.25pt 3.0cm 3.0cm 3.0cm; mso-header-margin: 42.55pt; mso-footer-margin: 49.6pt; mso-paper-source: 0; layout-grid: 18.0pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 9pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: ±¼¸²; TEXT-ALIGN: justify; mso-bidi-font-family: "Times New Roman"; mso-style-parent: ""; mso-pagination: none
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 9pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: ±¼¸²; TEXT-ALIGN: justify; mso-bidi-font-family: "Times New Roman"; mso-style-parent: ""; mso-pagination: none
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 9pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: ±¼¸²; TEXT-ALIGN: justify; mso-bidi-font-family: "Times New Roman"; mso-style-parent: ""; mso-pagination: none
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: ±¼¸²; mso-bidi-font-family: ±¼¸²; mso-pagination: widow-orphan; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
P.patch {
        FONT-SIZE: 8pt; MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 8pt; FONT-FAMILY: "Century Gothic"; mso-bidi-font-family: "Times New Roman"; mso-pagination: widow-orphan; mso-style-name: "patch ÄÚµå"; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: "Century Gothic"; mso-fareast-language: EN-US
}
LI.patch {
        FONT-SIZE: 8pt; MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 8pt; FONT-FAMILY: "Century Gothic"; mso-bidi-font-family: "Times New Roman"; mso-pagination: widow-orphan; mso-style-name: "patch ÄÚµå"; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: "Century Gothic"; mso-fareast-language: EN-US
}
DIV.patch {
        FONT-SIZE: 8pt; MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 8pt; FONT-FAMILY: "Century Gothic"; mso-bidi-font-family: "Times New Roman"; mso-pagination: widow-orphan; mso-style-name: "patch ÄÚµå"; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: "Century Gothic"; mso-fareast-language: EN-US
}
SPAN.EmailStyle18 {
        COLOR: windowtext; FONT-FAMILY: ±¼¸²; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial; mso-bidi-font-size: 10.0pt; mso-fareast-font-family: ±¼¸²; mso-style-type: personal-compose; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; mso-ascii-font-family: ±¼¸²
}
SPAN.SpellE {
        mso-style-name: ""; mso-spl-e: yes
}
SPAN.GramE {
        mso-style-name: ""; mso-gram-e: yes
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Ç¥Áؠǥ";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]--></HEAD>
<BODY lang=KO style="tab-interval: 40.0pt" vLink=purple link=blue>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff size=2>> 
Is there a critical reason to leave the SCSI timeout at 30 seconds 
?</FONT></SPAN></DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff 
size=2>Yes,  On busy arrays (lots of queued command), even 30 seconds is 
not sufficient. Our testing on heavily loaded arrays</FONT></SPAN></DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff size=2>says 
i/o timeouts should actually be in the 60 second range. These 
measurements were on standard single-path</FONT></SPAN></DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff 
size=2>configs. You could argue that multipath configs make the queuing 
worse.  Also, background array tasks, such as</FONT></SPAN></DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff size=2>driver 
rebuilds, etc </FONT></SPAN><SPAN class=099082714-13092005><FONT face=Arial 
color=#0000ff size=2>will increase the normal i/o execution 
times.</FONT></SPAN></DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff size=2>This 
said, smart administrators should be monitoring i/o load, adjusting queue 
depths, etc so that things aren't in the</FONT></SPAN></DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff size=2>range 
of 30 seconds. However, with multipathing in the mix, this becomes a much more 
difficult task for the admin.</FONT></SPAN></DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff size=2>Please 
note: it is bad to assume what the command execution time latency is based 
simply on having physical</FONT></SPAN></DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff 
size=2>connectivity.</FONT></SPAN></DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff size=2>My 
personal opinion is that you really want a "cancel i/o" interface. This way, at 
least when you get notified of</FONT></SPAN></DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff size=2>the 
loss of connectivity, you can cancel the remaining i/o's and failover quicker. I 
would assume, in much the same way</FONT></SPAN></DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff size=2>as the 
generic status codes are being handled, the block layer can be expanded to add 
this interface (and call the</FONT></SPAN></DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff size=2>SCSI 
abort handler, which already exists).</FONT></SPAN></DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=099082714-13092005><FONT face=Arial color=#0000ff size=2>-- 
james</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> dm-devel-bounces@redhat.com 
  [mailto:dm-devel-bounces@redhat.com]<B>On Behalf Of 
  </B>gauri@etri.re.kr<BR><B>Sent:</B> Monday, September 12, 2005 10:52 
  PM<BR><B>To:</B> dm-devel@redhat.com<BR><B>Subject:</B> [dm-devel] How about 
  shortening SCSI timeout value dynamically?<BR><BR></FONT></DIV>
  <DIV class=Section1 style="LAYOUT-GRID:  18pt none">
  <P class=MsoNormal><FONT face=±¼¸² size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial">Under 
  the <SPAN class=SpellE>multipath</SPAN> environment, when the path is 
  determined to fail, we have to wait 30 seconds because of the SCSI command 
  default <SPAN class=GramE>timeout(</SPAN>30 seconds). If the multiple paths 
  are alive, I think it is more efficient to short the SCSI command timeout. 
  Then we can shorten the delay of failover.<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=±¼¸² size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial">Is 
  there any critical reason to remain SCSI timeout <SPAN class=GramE>as a</SPAN> 
  30 seconds?<o:p></o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=±¼¸² size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial"><o:p> </o:p></SPAN></FONT></P>
  <P class=MsoNormal><FONT face=±¼¸² size=2><SPAN lang=EN-US 
  style="FONT-SIZE: 10pt; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial">What 
  do you think about my 
this?<o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>