<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:56: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-6045] DLC: Address a minor inconsistency between net and route adding behavior</title>
                <link>https://jira.whamcloud.com/browse/LU-6045</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;when adding an already existing net, then we fail with -EEXIST but when we add an already existing route we ignore the entry.  We should also fail with -EEXIST in this case as well.&lt;/p&gt;</description>
                <environment></environment>
        <key id="27964">LU-6045</key>
            <summary>DLC: Address a minor inconsistency between net and route adding behavior</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="ashehata">Amir Shehata</assignee>
                                    <reporter username="ashehata">Amir Shehata</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Dec 2014 03:02:03 +0000</created>
                <updated>Mon, 12 Jan 2015 18:33:41 +0000</updated>
                            <resolved>Mon, 12 Jan 2015 18:33:41 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="101917" author="gerrit" created="Thu, 18 Dec 2014 03:39:14 +0000"  >&lt;p&gt;Amir Shehata (amir.shehata@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/13116&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13116&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6045&quot; title=&quot;DLC: Address a minor inconsistency between net and route adding behavior&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6045&quot;&gt;&lt;del&gt;LU-6045&lt;/del&gt;&lt;/a&gt; lnet: return appropriate errno when adding route&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f7ce83ee0e5ee34b255d13ee2d914ca6be749706&lt;/p&gt;</comment>
                            <comment id="101981" author="adilger" created="Thu, 18 Dec 2014 18:59:04 +0000"  >&lt;p&gt;I have a higher level question for end-users of lnetctl, and possibly yaml configs (as it relates &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6043&quot; title=&quot;DLC: lnetctl import does not configure any networks&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6043&quot;&gt;&lt;del&gt;LU-6043&lt;/del&gt;&lt;/a&gt;) - does it make more sense to return -EEXIST when trying to configure a device already configured, or should it silently succeed if it is already configured, or possibly have a userspace-level option to decide (e.g. like &lt;tt&gt;mkdir -p&lt;/tt&gt; or &lt;tt&gt;rm -f&lt;/tt&gt; do)?&lt;/p&gt;</comment>
                            <comment id="102480" author="ashehata" created="Fri, 2 Jan 2015 21:19:25 +0000"  >&lt;p&gt;The way it works is that lnetctl doesn&apos;t stop it&apos;s batch process when a single operation fails.&lt;/p&gt;

&lt;p&gt;For example say you are provisioning N number of routes in a batch, and one of these already exists.  This single operation fails, but the rest of the operations succeed.  When the batch processing is complete the returned YAML block reports which operations in the batch failed and for what reason.  In this case it&apos;s useful to specify a seq_no for each operation to be able to associate the YAML report with the batch request.&lt;/p&gt;

&lt;p&gt;The main idea here is to off load the decision whether to fail or not to fail from the kernel.  The kernel always reports back the actual state of the operation requested.  User space can decide what to do with this return code.  I believe this is useful since the DLC model never uses the Kernel to operate on batches.  It only requests one singe operation to be completed at a tiem.  Batch processing always occurs in User space.  In my opinion, this model is superior to getting the kernel to perform batch processing since it entails having to parse the YAML batch description in the kernel, which is not preferred.&lt;/p&gt;

&lt;p&gt;Another option is to parse in user space and form a batch data structure, but again this is not optimal because it limits the number of operation per batch to the max size data structure passed to the kernel.&lt;/p&gt;

&lt;p&gt;As I mentioned currently the DLC API processes all the batch requests and reports which ones failed without halting the batch.  If it is needed we can further enhance the API to allow it to halt batch processing or continue batch processing on failure, depending on what type of flexibility we would like to expose to the user.&lt;/p&gt;

&lt;p&gt;As of now, I don&apos;t see a real use case to allow batch processing to be halted.&lt;/p&gt;

&lt;p&gt;Note: the current behavior when parsing modprobe route configuration is to ignore specific failures and continue provisioning the rest of the routes.  This patch does not alter this behavior but transfers the decision to halt or not to halt (in case of DLC) to user space.&lt;/p&gt;
</comment>
                            <comment id="102755" author="gerrit" created="Wed, 7 Jan 2015 17:06:16 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/13116/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/13116/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6045&quot; title=&quot;DLC: Address a minor inconsistency between net and route adding behavior&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6045&quot;&gt;&lt;del&gt;LU-6045&lt;/del&gt;&lt;/a&gt; lnet: return appropriate errno when adding route&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 0f9f4b1b234bdc12a2604225d8c6398a355b75a4&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="27962">LU-6043</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzx2rj:</customfieldvalue>

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