<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:11:26 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-14633] change ksocklnd over to use iov_iter_for_each_range()</title>
                <link>https://jira.whamcloud.com/browse/LU-14633</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It came up in a discussion today on IRC that Lustre-staging was using &lt;tt&gt;iov_iter_for_each_range()&lt;/tt&gt;, which Al Viro apparently added specifically for use by &lt;tt&gt;ksocknal_lib_recv()&lt;/tt&gt; to clean up the code there.&lt;/p&gt;

&lt;p&gt;This was done in upstream kernel commits:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;v4.14-rc4-19-g6d1ff4d6f37d &quot;&lt;tt&gt;lnet_return_rx_credits_locked: don&apos;t abuse list_entry&lt;/tt&gt;&quot;&lt;/li&gt;
	&lt;li&gt;v4.14-rc4-20-g09cf698a5942 &quot;&lt;tt&gt;new primitive: iov_iter_for_each_range()&lt;/tt&gt;&quot;&lt;/li&gt;
	&lt;li&gt;v4.14-rc4-23-g33ec9c5cae25 &quot;&lt;tt&gt;lustre: switch struct ksock_conn to iov_iter&lt;/tt&gt;&quot;&lt;/li&gt;
	&lt;li&gt;v4.14-rc4-24-g8ececffa12f5 &quot;&lt;tt&gt;switch ksocknal_lib_recv_...() to use of iov_iter_for_each_range()&lt;/tt&gt;&quot;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;It isn&apos;t clear why these changes weren&apos;t part of the patches being merged into master, but they look like a reasonable cleanup (remove a few hundred lines of code in total).&lt;/p&gt;

&lt;p&gt;Since the &lt;tt&gt;iov_iter_for_each_range()&lt;/tt&gt; is only available starting in 4.14 (it isn&apos;t in RHEL7.x), (and may be on the verge of being removed upstream, based on the IRC discussion) it makes sense to have a configure check and compat version of &lt;tt&gt;iov_iter_for_each_range()&lt;/tt&gt; for kernels that do not provide it, and we can reintroduce it (if needed) when Lustre is pushed upstream.&lt;/p&gt;</description>
                <environment></environment>
        <key id="63891">LU-14633</key>
            <summary>change ksocklnd over to use iov_iter_for_each_range()</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>upstream</label>
                    </labels>
                <created>Thu, 22 Apr 2021 17:29:12 +0000</created>
                <updated>Thu, 22 Apr 2021 17:45:47 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="299513" author="adilger" created="Thu, 22 Apr 2021 17:35:21 +0000"  >&lt;p&gt;James, Neil, I came across a few patches that Al Viro did to ksocklnd upstream that are missing from master that may be worthwhile to merge, so Al doesn&apos;t become unhappy about the regression on the future submission.&lt;/p&gt;</comment>
                            <comment id="299514" author="simmonsja" created="Thu, 22 Apr 2021 17:45:47 +0000"  >&lt;p&gt;The reason I haven&apos;t push this work is due to the iov changes for this lacking in RHLE7. Its going to take some work to make that to happen.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="56278">LU-12511</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="56692">LU-12678</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|i01stj:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>