<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:32:33 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-3284] some stripe ioctl() handling issues and questions</title>
                <link>https://jira.whamcloud.com/browse/LU-3284</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In ll_dir_ioctl() LL_IOC_LMV_SETSTRIPE: we pass lmv_user_md * lum to ll_dir_setdirstripe() but not lumlen. Hence no validation of lmm_stripe_count vs lumlen. (Future issue.)&lt;/p&gt;

&lt;p&gt;In ll_dir_ioctl() IOC_LOV_GETINFO: an OOB array access/swab if lum_stripe_count (from US) does not agree with lmmsize.&lt;/p&gt;

&lt;p&gt;In ll_lov_getstripe_ea_info() we should verify that lmmsize (from wire) agrees with lmm_stripe_count.&lt;/p&gt;

&lt;p&gt;Style: In ll_lov_getstripe_ea_info() there are vars named lmmsize and lmm_size.&lt;/p&gt;

&lt;p&gt;ll_dir_setstripe() checks senselessly for LMV_USER_MAGIC.&lt;/p&gt;

&lt;p&gt;In mdt_setattr_unpack() we should check that ma_lmm_size (from RMF) agrees with sizeof(*lmm)/lmm_stripe_count.&lt;/p&gt;

&lt;p&gt;In ll_setxattr() need to verity that passed size is at least sizeof(...).&lt;/p&gt;

&lt;p&gt;lov_setstripe() is never called.&lt;/p&gt;

&lt;p&gt;Why do we have LOV_USER_MAGIC_V1 and LOV_MAGIC_V1? Why isn&apos;t one defined to be the other? And similarly for the other LOV/LMV defines.&lt;/p&gt;

&lt;p&gt;Should the MDT reint unpackers check for BE lmm_magic and swab accordingly?&lt;/p&gt;

&lt;p&gt;In ll_lov_setstripe() what is the purpose of put_user(0, &amp;amp;lumv1p-&amp;gt;lmm_stripe_count)? I cannot see that llapi checks this afterwards.&lt;/p&gt;</description>
                <environment></environment>
        <key id="18721">LU-3284</key>
            <summary>some stripe ioctl() handling issues and questions</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="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="2">Won&apos;t Fix</resolution>
                                        <assignee username="jhammond">John Hammond</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>lov</label>
                    </labels>
                <created>Mon, 6 May 2013 22:12:46 +0000</created>
                <updated>Wed, 23 Jun 2021 23:00:09 +0000</updated>
                            <resolved>Wed, 23 Jun 2021 23:00:05 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="17913">LU-2973</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|hzvq8f:</customfieldvalue>

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