<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:33:11 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-17166] add TBF rule for projid</title>
                <link>https://jira.whamcloud.com/browse/LU-17166</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It appears that there was no rule added for NRS TBF to allow selecting the project ID for an RPC.&lt;/p&gt;</description>
                <environment></environment>
        <key id="78246">LU-17166</key>
            <summary>add TBF rule for projid</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="eaujames">Etienne Aujames</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>easy</label>
                    </labels>
                <created>Wed, 4 Oct 2023 13:20:50 +0000</created>
                <updated>Tue, 10 Oct 2023 09:06:31 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="388246" author="sthiell" created="Thu, 5 Oct 2023 19:07:07 +0000"  >&lt;p&gt;YES! Would be great to have. We&apos;re interested to use this on a system instead of NRS TBF GID.&lt;/p&gt;</comment>
                            <comment id="388300" author="adilger" created="Fri, 6 Oct 2023 06:29:36 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=sthiell&quot; class=&quot;user-hover&quot; rel=&quot;sthiell&quot;&gt;sthiell&lt;/a&gt;, contributions are of course welcome. I don&apos;t think this would be more than a cargo-cult copying of the uid/gid/jobid functionality that already exists, so likely very low complexity. &lt;/p&gt;</comment>
                            <comment id="388468" author="eaujames" created="Sun, 8 Oct 2023 07:30:48 +0000"  >&lt;p&gt;Hi Andreas,&lt;/p&gt;

&lt;p&gt;projid is not in every RPCs (present in mdt_body but for the OSTs this used in quota requests only), so we can use a free field in ptlrpc_body (e.g: pb_padding64_1) to tag the requests and add a new compatibility flag.&lt;br/&gt;
And unlike for uid/gid, we can not take the ids of the process because project id is only an attr. I think we can access to the projid via the inode information on the clients: (struct ll_inode_info *) -&amp;gt;lli_projid&lt;/p&gt;</comment>
                            <comment id="388500" author="adilger" created="Mon, 9 Oct 2023 10:13:36 +0000"  >&lt;p&gt;The &lt;tt&gt;struct obdo::o_projid&lt;/tt&gt; field should be included in almost every OST RPC?  I could imagine that there may be cases where it is not set by the client, but that can be fixed in the client. &lt;/p&gt;</comment>
                            <comment id="388617" author="eaujames" created="Tue, 10 Oct 2023 09:06:31 +0000"  >&lt;p&gt;Ok, that should work for ost_io service.&lt;br/&gt;
For now, o_projid is set only for write request, but we can modify the client to send it for write and read.&lt;br/&gt;
So for now, we could restrict the development to ost_io (that should be easy).&lt;br/&gt;
But for ost and mdt services, that should require more work on the client to include projid in the requests.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="46668">LU-9658</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|i03xgv:</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>
                                                                                            <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>