<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:33:38 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-17219] lfs find: add ability to print extended attributes</title>
                <link>https://jira.whamcloud.com/browse/LU-17219</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;&quot;lfs find&quot; should have a printf option to be able to print extended attributes of files.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;There are some design questions about the correct way for this to work:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;which xattrs should actually get printed? Should it only print xattrs that are matched with a supplied &quot;-xattr&quot; argument? what if no xattr argument is supplied?&lt;/li&gt;
	&lt;li&gt;if multiple xattrs are printed per file should they be newline separated, or separated with some other character?&lt;/li&gt;
	&lt;li&gt;different formats for printing, e.g., text, hex, base64, etc?&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;One of the main use cases for this would be printing job IDs for files that are matched with something like:&lt;br/&gt;
lfs find -xattr &quot;user.job=&quot; /mnt/lustre&lt;/p&gt;</description>
                <environment></environment>
        <key id="78531">LU-17219</key>
            <summary>lfs find: add ability to print extended attributes</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="bertschinger">Thomas Bertschinger</reporter>
                        <labels>
                    </labels>
                <created>Mon, 23 Oct 2023 15:27:20 +0000</created>
                <updated>Thu, 2 Nov 2023 15:53:46 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="390320" author="adilger" created="Tue, 24 Oct 2023 03:41:22 +0000"  >&lt;p&gt;I&apos;m thinking that the printing option should only print specific xattrs that are requested, though it would be possible to print all of the xattrs with a &quot;&lt;tt&gt;&amp;#42;&lt;/tt&gt;&quot; wildcard.  One option is the xattr specified by &quot;&lt;tt&gt;&amp;#45;&amp;#45;xattr&lt;/tt&gt;&quot;, but that restricts the printing to specific xattrs that match a search criterion.  That &lt;em&gt;might&lt;/em&gt; be OK because why would we want to print an xattr that is not set on a file?&lt;/p&gt;

&lt;p&gt;That said, my preference would be to have an option like &quot;&lt;tt&gt;&amp;#45;&amp;#45;printf %Lx:XATTR&lt;/tt&gt;&quot; to print &lt;tt&gt;XATTR&lt;/tt&gt; as ASCII, and &quot;&lt;tt&gt;&amp;#45;&amp;#45;printf %LX:XATTR&lt;/tt&gt;&quot; to print &lt;tt&gt;XATTR&lt;/tt&gt; as hex.  It isn&apos;t totally clear if we want to also print the xattr name, but that could be part of the explicit printf format, like &quot;&lt;tt&gt;&amp;#45;&amp;#45;printf user.job=%Lx:XATTR&lt;/tt&gt;&quot; or similar.  Alternately, there could be sub-options like &quot;&lt;tt&gt;%Lxa:XATTR&lt;/tt&gt;&quot; to print the value in ASCII format, &quot;&lt;tt&gt;%Lxh:XATTR&lt;/tt&gt;&quot; to print the value in hex, and &quot;&lt;tt&gt;%Lxb&lt;/tt&gt;&quot; to print in base64.  I don&apos;t think it makes sense to have a &quot;&lt;tt&gt;%Lxn:XATTR&lt;/tt&gt;&quot; to print the xattr &lt;b&gt;name&lt;/b&gt;, since that would just be &lt;tt&gt;XATTR&lt;/tt&gt;, unless it is a glob pattern and we want to print the matching xattr names?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="70232">LU-15837</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="69732">LU-15743</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="57500">LU-13031</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|i03z7j:</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>