<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:22:34 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-9020] Where is libcfs_sock_wmem_queued defined in b2_8/b2_9</title>
                <link>https://jira.whamcloud.com/browse/LU-9020</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;&apos;libcfs_sock_wmem_queued&apos; is referenced in lnet/klnds/socklnd/&lt;/p&gt;
{socklnd.c,socklnd_cb.c}
&lt;p&gt;.&lt;br/&gt;
It is defined in b2_7 in libcfs/include/libcfs/linux/linux-tcpip.h:&lt;br/&gt;
static inline int&lt;br/&gt;
libcfs_sock_wmem_queued(struct socket *sock)&lt;br/&gt;
{&lt;br/&gt;
        return sock-&amp;gt;sk-&amp;gt;sk_wmem_queued;&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;But that file is removed in b2_8 and b2_9.&lt;/p&gt;

&lt;p&gt;I tried to compile b2_9 and compilation failed:&lt;br/&gt;
tmp/rpmbuild-lustre-jlan-MP8FuBPN/BUILD/lustre-2.9.0/lnet/klnds/socklnd/socklnd_cb.c: In function &apos;ksocknal_check_peer_timeouts&apos;:&lt;br/&gt;
/tmp/rpmbuild-lustre-jlan-MP8FuBPN/BUILD/lustre-2.9.0/lnet/klnds/socklnd/socklnd_cb.c:2492:3: error: implicit declaration of function &apos;libcfs_sock_wmem_queued&apos; &lt;span class=&quot;error&quot;&gt;&amp;#91;-Werror=implicit-function-declaration&amp;#93;&lt;/span&gt;&lt;br/&gt;
   CNETERR(&quot;Total %d stale ZC_REQs for peer %s detected; the &quot;&lt;br/&gt;
   ^&lt;br/&gt;
cc1: all warnings being treated as errors&lt;br/&gt;
/usr/src/linux-4.4.21-84.1.20161207nasa/scripts/Makefile.build:259: recipe for target &apos;/tmp/rpmbuild-lustre-jlan-MP8FuBPN/BUILD/lustre-2.9.0/lnet/klnds/socklnd/socklnd_cb.o&apos; failed&lt;/p&gt;

&lt;p&gt;Where is libcfs_sock_wmem_queued defined in b2_9? How do I get it compiled?&lt;br/&gt;
Need help!&lt;/p&gt;</description>
                <environment>build</environment>
        <key id="42999">LU-9020</key>
            <summary>Where is libcfs_sock_wmem_queued defined in b2_8/b2_9</summary>
                <type id="9" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/undefined.png">Question/Request</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</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="6">Not a Bug</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="jaylan">Jay Lan</reporter>
                        <labels>
                    </labels>
                <created>Fri, 13 Jan 2017 19:05:05 +0000</created>
                <updated>Fri, 13 Jan 2017 22:03:33 +0000</updated>
                            <resolved>Fri, 13 Jan 2017 22:03:33 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="180836" author="simmonsja" created="Fri, 13 Jan 2017 20:50:17 +0000"  >&lt;p&gt;libcfs_sock_wmem_queued was removed some time ago. Instead the code just access the struct sock field directly. What lustre source tree are you using? I don&apos;t see this function in vanilla 2.8 or 2.9.&lt;/p&gt;</comment>
                            <comment id="180846" author="jaylan" created="Fri, 13 Jan 2017 21:41:12 +0000"  >&lt;p&gt;I git clone from &lt;br/&gt;
    origin	git://git.whamcloud.com/fs/lustre-release.git (fetch)&lt;br/&gt;
branch b2_9. It was done about 5 weeks ago. Tags are v2_9_0_0, v2_9_0, 2.9.0.&lt;/p&gt;

&lt;p&gt;I just compared my copy of socklnd_cb.c with one here:&lt;br/&gt;
&lt;a href=&quot;https://git.hpdd.intel.com/?p=fs/lustre-release.git;a=blob;f=lnet/klnds/socklnd/socklnd_cb.c;h=77dde2320727e29b1dba35c878a5b186318b81db;hb=refs/heads/b2_9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.hpdd.intel.com/?p=fs/lustre-release.git;a=blob;f=lnet/klnds/socklnd/socklnd_cb.c;h=77dde2320727e29b1dba35c878a5b186318b81db;hb=refs/heads/b2_9&lt;/a&gt;&lt;br/&gt;
and they are different.&lt;/p&gt;

&lt;p&gt;I will figure out why my git clone copy is not what it should be. Hmm, I actually I rebased my nasa 2.7.2 tree (from FE repo) to b2_9 to create nasa 2.9.0... Bad idea I guess.&lt;/p&gt;

&lt;p&gt;Please close this ticket. Thanks!&lt;/p&gt;
</comment>
                            <comment id="180849" author="pjones" created="Fri, 13 Jan 2017 22:03:33 +0000"  >&lt;p&gt;ok - thanks Jay&lt;/p&gt;</comment>
                    </comments>
                    <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|hzz0r3:</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>