<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:35:44 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-10510] Fix &apos;over max size limit&apos; issue</title>
                <link>https://jira.whamcloud.com/browse/LU-10510</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Some&#160;sites have encountered issues with messages like:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;May 10 13:54:50 oss02 kernel: blk_cloned_rq_check_limits: over max size limit.
May 10 13:54:50 oss02 kernel: blk_cloned_rq_check_limits: over max size limit.
May 10 13:54:50 oss02 kernel: device-mapper: multipath: Failing path 8:48.
May 10 13:54:50 oss02 kernel: blk_cloned_rq_check_limits: over max size limit.
May 10 13:54:50 oss02 kernel: blk_cloned_rq_check_limits: over max size limit.
May 10 13:54:50 oss02 kernel: device-mapper: multipath: Failing path 8:240.

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This issue can cause corruption on storage side. It can be fixed by reverting an upstream patch&#160;or&#160;adding a udev script (but we will change max_sectors_kb value while mounting time, so it still can be triggered even with this script). The better way is to handle this value in mount.lustre tool. I&apos;ll make up a patch for master first.&lt;/p&gt;</description>
                <environment></environment>
        <key id="50222">LU-10510</key>
            <summary>Fix &apos;over max size limit&apos; issue</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="ys">Yang Sheng</assignee>
                                    <reporter username="ys">Yang Sheng</reporter>
                        <labels>
                    </labels>
                <created>Sun, 14 Jan 2018 17:50:12 +0000</created>
                <updated>Fri, 15 Nov 2019 05:05:19 +0000</updated>
                            <resolved>Tue, 29 May 2018 05:08:21 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>12</watches>
                                                                            <comments>
                            <comment id="219030" author="adilger" created="Wed, 24 Jan 2018 19:45:12 +0000"  >&lt;p&gt;Cliff hit this on the soak test cluster.  He will collect &lt;tt&gt;grep . /sys/block/{dm&amp;#42;,sd&amp;#42;}/queue/max*sectors_kb&lt;/tt&gt; for the affected MDT multipath device and the underlying SCSI devices (we don&apos;t need all of the others).  My suspicion is that one of the underlying devices was reset for some reason, and &lt;tt&gt;max_sectors_kb&lt;/tt&gt; is the default (maybe 128) but the multipath device is set larger (maybe 1024 or 16384) and this is causing the failures.&lt;/p&gt;

&lt;p&gt;Using &lt;tt&gt;mount.lustre -o max_sectors_kb=0&lt;/tt&gt; will prevent Lustre from changing these tunables in the first place, which may hurt OST performance, but likely has a lesser effect on MDT performance.  However, if the system is already in this state (underlying devices have lower &lt;tt&gt;max_sectors_kb&lt;/tt&gt; than parent), this needs to be fixed manually to change the underlying settings (or a reboot would work).&lt;/p&gt;</comment>
                            <comment id="219031" author="adilger" created="Wed, 24 Jan 2018 19:57:34 +0000"  >&lt;p&gt;Yang Sheng, can you please look at what could be done for creating a udev script to handle this?  I guess the tricky part is that we don&apos;t want to install a udev script to cover all devices from the RPM package, we only want to affect the Lustre target devices.&lt;/p&gt;

&lt;p&gt;One option would be to generate udev rules like &lt;tt&gt;/etc/udev/rules.d/99-lustre-&amp;lt;device&amp;gt;.rules&lt;/tt&gt; at &lt;tt&gt;mkfs.lustre&lt;/tt&gt; time for the multipath and children devices.  That wouldn&apos;t help existing filesystems, and means users could see a performance regression when they upgraded to a version of &lt;tt&gt;mkfs.lustre&lt;/tt&gt; that doesn&apos;t include this tuning, if users don&apos;t know the tunable is no longer applied by &lt;tt&gt;mount.lustre&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;A second option would be to change &lt;tt&gt;tune_max_sectors_kb()&lt;/tt&gt; to generate and install udev tuning rules for each mounted device and children if they do not already exist.  This would be least complex, but possibly a surprising action for &lt;tt&gt;mount.lustre&lt;/tt&gt; to take.  However, it is not worse than our current practice of changing the block device tunables at mount time&lt;/p&gt;

&lt;p&gt;A third option (possibly in addition to the first) would be to change &lt;tt&gt;tune_max_sectors_kb()&lt;/tt&gt; to complain about the lack of udev tuning rules for the device and children, or if the multipath child device settings do not match the parent, and indicate how to create the udev rules, but not actually install the rules.  Then, the admin can create such a rule and add any tunables desired to quiet &lt;tt&gt;mount.lustre&lt;/tt&gt;, and this should avoid having it do the tuning itself.&lt;/p&gt;</comment>
                            <comment id="220580" author="chunteraa" created="Fri, 9 Feb 2018 15:31:50 +0000"  >&lt;p&gt;Known issue certain kernels, related to mismatch in &lt;b&gt;max_sectors_kb&lt;/b&gt; setting between dm devices (eg. mutipath) and underlying block devices.&lt;br/&gt;
 If you have redhat account you can read their KB articles:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://access.redhat.com/solutions/247991&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://access.redhat.com/solutions/247991&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://access.redhat.com/solutions/145163&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://access.redhat.com/solutions/145163&lt;/a&gt;&lt;br/&gt;
 &#160;&lt;/p&gt;</comment>
                            <comment id="228735" author="ys" created="Tue, 29 May 2018 05:07:26 +0000"  >&lt;p&gt;This issue should be fixed after &lt;a href=&quot;https://review.whamcloud.com/31951/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/31951/&lt;/a&gt; landed.&lt;/p&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="43888">LU-9132</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzzr3z:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>