<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:55:23 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-5888] mount.lustre: set max_sectors_kb to 2147483647</title>
                <link>https://jira.whamcloud.com/browse/LU-5888</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This issue was created by maloo for Andreas Dilger &amp;lt;andreas.dilger@intel.com&amp;gt;&lt;/p&gt;

&lt;p&gt;I noticed that the automatic tuning of max_sectors_kb by mount.lustre is going badly at mount time: &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;mount.lustre: set /sys/block/dm-0/queue/max_sectors_kb to 2147483647
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This looks like and overflow, but even if it is not then we don&apos;t need to set this higher than PTLRPC_MAX_BRW_SIZE, or maybe 16MB or 32MB if that #define is not available in userspace. &lt;/p&gt;

&lt;p&gt;This issue relates to the following test suite run: &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/169fa0cc-6627-11e4-8c86-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/169fa0cc-6627-11e4-8c86-5254006e85c2&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="27517">LU-5888</key>
            <summary>mount.lustre: set max_sectors_kb to 2147483647</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="dmiter">Dmitry Eremin</assignee>
                                    <reporter username="maloo">Maloo</reporter>
                        <labels>
                            <label>mq115</label>
                    </labels>
                <created>Sun, 9 Nov 2014 17:04:41 +0000</created>
                <updated>Thu, 27 Apr 2017 17:34:38 +0000</updated>
                            <resolved>Mon, 3 Aug 2015 05:40:40 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="99213" author="adilger" created="Fri, 14 Nov 2014 19:53:20 +0000"  >&lt;p&gt; &lt;a href=&quot;http://review.whamcloud.com/12723&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12723&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="100175" author="gerrit" created="Wed, 26 Nov 2014 23:41:01 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/12723/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12723/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5888&quot; title=&quot;mount.lustre: set max_sectors_kb to 2147483647&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5888&quot;&gt;&lt;del&gt;LU-5888&lt;/del&gt;&lt;/a&gt; utils: limit max_sectors_kb tunable setting&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 73bd456e8965e3c3e7ccab0f7850fc50355d9cec&lt;/p&gt;</comment>
                            <comment id="100764" author="gerrit" created="Thu, 4 Dec 2014 22:16:41 +0000"  >&lt;p&gt;James Simmons (uja.ornl@gmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/12940&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12940&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5888&quot; title=&quot;mount.lustre: set max_sectors_kb to 2147483647&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5888&quot;&gt;&lt;del&gt;LU-5888&lt;/del&gt;&lt;/a&gt; utils: limit max_sectors_kb tunable setting&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_5&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 917ea4f04572451dc7c43d96436707d22a3701c4&lt;/p&gt;</comment>
                            <comment id="102588" author="gerrit" created="Mon, 5 Jan 2015 23:21:23 +0000"  >&lt;p&gt;Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13240&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13240&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5888&quot; title=&quot;mount.lustre: set max_sectors_kb to 2147483647&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5888&quot;&gt;&lt;del&gt;LU-5888&lt;/del&gt;&lt;/a&gt; utils: limit max_sectors_kb tunable setting&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e2e89380f0366c102c3db203f03730c4075f1bb4&lt;/p&gt;</comment>
                            <comment id="102594" author="adilger" created="Mon, 5 Jan 2015 23:23:58 +0000"  >&lt;p&gt;Seems my first patch didn&apos;t completely fix the problem for newer kernels that allow a huge max_sectors_kb.  I&apos;ve pushed a second patch to resolve the remaining problem.&lt;/p&gt;</comment>
                            <comment id="105486" author="adilger" created="Tue, 3 Feb 2015 10:00:35 +0000"  >&lt;p&gt;Strangely, the new patch fails with a BUG in the DM layer now that it is actually limiting the max request size to 32MB.  For example, in the autotest and MDS console log of &lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/05b9a226-a6c8-11e4-ad11-5254006e85c2:&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/05b9a226-a6c8-11e4-ad11-5254006e85c2:&lt;/a&gt;&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;07:19:32:CMD: onyx-33vm3 mkdir -p /mnt/mds1; mount -t lustre   		                   /dev/lvm-Role_MDS/P1 /mnt/mds1
07:19:33:onyx-33vm3: mount.lustre: increased /sys/block/dm-0/queue/max_sectors_kb from 1024 to 32768
07:19:33:onyx-33vm3: mount.lustre: increased /sys/block/vda/queue/max_sectors_kb from 1024 to 32768
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;07:19:14:LDISKFS-fs (dm-0): mounted filesystem with ordered data mode. quota=on. Opts: 
07:19:14:BUG: unable to handle kernel NULL pointer dereference at (null)
07:19:14:IP: [&amp;lt;ffffffff811ca1b0&amp;gt;] mpage_end_io_read+0x30/0x90
07:19:14:Oops: 0002 [#1] SMP 
07:19:14:Pid: 2832, comm: modprobe Not tainted 2.6.32-431.29.2.el6_lustre.gffd1fc2.x86_64 #1 Red Hat KVM
07:19:14:RIP: 0010:[&amp;lt;ffffffff811ca1b0&amp;gt;]  [&amp;lt;ffffffff811ca1b0&amp;gt;] mpage_end_io_read+0x30/0x90
07:19:15:Process modprobe (pid: 2832, threadinfo ffff88005916a000, task ffff880079ae554
07:19:16:Call Trace:
07:19:16: &amp;lt;IRQ&amp;gt; 
07:19:16: [&amp;lt;ffffffff811c314d&amp;gt;] bio_endio+0x1d/0x40
07:19:16: [&amp;lt;ffffffff812661fb&amp;gt;] req_bio_endio+0x9b/0xe0
07:19:16: [&amp;lt;ffffffff81267777&amp;gt;] blk_update_request+0x117/0x490
07:19:16: [&amp;lt;ffffffff81267b17&amp;gt;] blk_update_bidi_request+0x27/0xa0
07:19:16: [&amp;lt;ffffffff812698be&amp;gt;] __blk_end_request_all+0x2e/0x60
07:19:16: [&amp;lt;ffffffffa005a22a&amp;gt;] blk_done+0x4a/0x110 [virtio_blk]
07:19:16: [&amp;lt;ffffffffa004e2ac&amp;gt;] vring_interrupt+0x3c/0xd0 [virtio_ring]
07:19:16: [&amp;lt;ffffffff810e7090&amp;gt;] handle_IRQ_event+0x60/0x170
07:19:16: [&amp;lt;ffffffff810e99ee&amp;gt;] handle_edge_irq+0xde/0x180
07:19:16: [&amp;lt;ffffffff8100faf9&amp;gt;] handle_irq+0x49/0xa0
07:19:16: [&amp;lt;ffffffff81532dbc&amp;gt;] do_IRQ+0x6c/0xf0
07:19:16: [&amp;lt;ffffffff8100b9d3&amp;gt;] ret_from_intr+0x0/0x11
07:19:16: &amp;lt;EOI&amp;gt; 
07:19:16: [&amp;lt;ffffffff811c4f3e&amp;gt;] bio_alloc_bioset+0x3e/0xf0
07:19:17: [&amp;lt;ffffffff811c5095&amp;gt;] bio_alloc+0x15/0x30
07:19:17: [&amp;lt;ffffffff811ca065&amp;gt;] mpage_alloc+0x35/0xa0
07:19:17: [&amp;lt;ffffffff811ca5de&amp;gt;] do_mpage_readpage+0x35e/0x5f0
07:19:17: [&amp;lt;ffffffff811ca9c9&amp;gt;] mpage_readpages+0xe9/0x130
07:19:18: [&amp;lt;ffffffffa0089ccd&amp;gt;] ext3_readpages+0x1d/0x20 [ext3]
07:19:18: [&amp;lt;ffffffff81135795&amp;gt;] __do_page_cache_readahead+0x185/0x210
07:19:18: [&amp;lt;ffffffff81135841&amp;gt;] ra_submit+0x21/0x30
07:19:18: [&amp;lt;ffffffff81135bb5&amp;gt;] ondemand_readahead+0x115/0x240
07:19:18: [&amp;lt;ffffffff81135dd3&amp;gt;] page_cache_sync_readahead+0x33/0x50
07:19:18: [&amp;lt;ffffffff81121868&amp;gt;] generic_file_aio_read+0x558/0x700
07:19:19: [&amp;lt;ffffffff811890ba&amp;gt;] do_sync_read+0xfa/0x140
07:19:19: [&amp;lt;ffffffff81189a75&amp;gt;] vfs_read+0xb5/0x1a0
07:19:19: [&amp;lt;ffffffff81189bb1&amp;gt;] sys_read+0x51/0x90
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="120861" author="pjones" created="Thu, 9 Jul 2015 17:52:45 +0000"  >&lt;p&gt;Dmitry&lt;/p&gt;

&lt;p&gt;Andreas is too busy to complete the remaining work on this. Could you please take this to completion?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="122968" author="gerrit" created="Mon, 3 Aug 2015 01:57:18 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/13240/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13240/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5888&quot; title=&quot;mount.lustre: set max_sectors_kb to 2147483647&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5888&quot;&gt;&lt;del&gt;LU-5888&lt;/del&gt;&lt;/a&gt; utils: limit max_sectors_kb tunable setting&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 0484a16883a951f27c30ee926c9a1c305f7cf489&lt;/p&gt;</comment>
                            <comment id="122978" author="dmiter" created="Mon, 3 Aug 2015 05:40:40 +0000"  >&lt;p&gt;landed to master&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="23854">LU-4810</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="31408">LU-6974</issuekey>
        </issuelink>
                            </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|hzx0jb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>16462</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>