<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:22:29 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-9010] use static initialization for statically allocated objects when possible</title>
                <link>https://jira.whamcloud.com/browse/LU-9010</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Statically allocated completions, list heads, mutexes, timer lists, atomics, spinlocks, wait queues, etc should be statically initialized using kernel provided macros. Dynamic initialization can be identified by auditing module_init() functions:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;static&lt;/span&gt; __init &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; ptlrpc_init(void)
{
        ...

#&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; RS_DEBUG
        spin_lock_init(&amp;amp;ptlrpc_rs_debug_lock);
#endif
        INIT_LIST_HEAD(&amp;amp;ptlrpc_all_services);
        mutex_init(&amp;amp;ptlrpc_all_services_mutex);
        mutex_init(&amp;amp;pinger_mutex);
        mutex_init(&amp;amp;ptlrpcd_mutex);
        ...
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Here &lt;tt&gt;spin_lock_init(&amp;amp;ptlrpc_rs_debug_lock)&lt;/tt&gt; can be dropped if &lt;tt&gt;prlrpc_rs_debug_lock&lt;/tt&gt; is defined using &lt;tt&gt;DEFINE_SPINLOCK()&lt;/tt&gt; and similarly the other initializations shown above.&lt;/p&gt;

&lt;p&gt;Regex searches can also identify top level definitions of these structures that fail to use the initializer macros:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;lustre-release$ git grep -E -e &apos;^(static[ \t]+)?struct[ \t]+((completion)|(list_head)|(mutex)|(timer_list))&apos; -e &apos;^(static[ \t]+)((atomic_t)|(spinlock_t)|(wait_queue_head_t))&apos;
libcfs/include/libcfs/util/list.h:struct list_head {
libcfs/libcfs/debug.c:static wait_queue_head_t debug_ctlwq;
libcfs/libcfs/tracefile.c:static atomic_t cfs_tage_allocated = ATOMIC_INIT(0);
libcfs/libcfs/watchdog.c:static struct completion lcw_start_completion;
libcfs/libcfs/watchdog.c:static struct completion  lcw_stop_completion;
libcfs/libcfs/watchdog.c:static wait_queue_head_t lcw_event_waitq;
libcfs/libcfs/watchdog.c:static struct list_head lcw_pending_timers = LIST_HEAD_INIT(lcw_pending_timers);
lnet/include/lnet/lib-lnet.h:struct list_head *lnet_mt_match_head(struct lnet_match_table *mtable,
lnet/include/lnet/nidstr.h:struct list_head;
lnet/klnds/o2iblnd/o2iblnd.c:struct list_head *
lnet/klnds/o2iblnd/o2iblnd.h:struct list_head *kiblnd_pool_alloc_node(kib_poolset_t *ps);
lnet/lnet/lib-ptl.c:struct list_head *
lnet/lnet/module.c:static struct mutex lnet_config_mutex;
lustre/ldlm/ldlm_internal.h:struct list_head *ldlm_namespace_inactive_list(enum ldlm_side client)
lustre/ldlm/ldlm_lockd.c:static struct mutex    ldlm_ref_mutex;
lustre/ldlm/ldlm_lockd.c:static spinlock_t waiting_locks_spinlock;   /* BH lock (timer) */
lustre/ldlm/ldlm_lockd.c:static struct list_head waiting_locks_list;
lustre/ldlm/ldlm_lockd.c:static struct timer_list waiting_locks_timer;
lustre/ldlm/ldlm_pool.c:static struct completion ldlm_pools_comp;
lustre/ldlm/ldlm_reclaim.c:static atomic_t                      ldlm_nr_reclaimer;
lustre/ldlm/ldlm_resource.c:struct mutex ldlm_srv_namespace_lock;
lustre/ldlm/ldlm_resource.c:struct list_head ldlm_srv_namespace_list;
lustre/ldlm/ldlm_resource.c:struct mutex ldlm_cli_namespace_lock;
lustre/ldlm/ldlm_resource.c:struct list_head ldlm_cli_active_namespace_list;
lustre/ldlm/ldlm_resource.c:struct list_head ldlm_cli_inactive_namespace_list;
lustre/lfsck/lfsck_lib.c:static struct list_head lfsck_instance_list;
lustre/lfsck/lfsck_lib.c:static struct list_head lfsck_ost_orphan_list;
lustre/lfsck/lfsck_lib.c:static struct list_head lfsck_mdt_orphan_list;
lustre/mgc/mgc_request.c:static struct list_head config_llog_list = LIST_HEAD_INIT(config_llog_list);
lustre/mgc/mgc_request.c:static wait_queue_head_t      rq_waitq;
lustre/mgc/mgc_request.c:static atomic_t mgc_count = ATOMIC_INIT(0);
lustre/obdclass/cl_object.c:static spinlock_t *cl_object_attr_guard(struct cl_object *o)
lustre/obdclass/class_obd.c:struct list_head obd_types;
lustre/obdclass/genops.c:static struct list_head obd_zombie_imports;
lustre/obdclass/genops.c:static struct list_head obd_zombie_exports;
lustre/obdclass/genops.c:static spinlock_t  obd_zombie_impexp_lock;
lustre/obdclass/genops.c:struct list_head obd_stale_exports;
lustre/obdclass/genops.c:static struct completion       obd_zombie_start;
lustre/obdclass/genops.c:static struct completion       obd_zombie_stop;
lustre/obdclass/genops.c:static wait_queue_head_t       obd_zombie_waitq;
lustre/obdclass/kernelcomm.c:static struct list_head kkuc_groups[KUC_GRP_MAX+1] = {};
lustre/obdclass/local_storage.c:static struct list_head ls_list_head = LIST_HEAD_INIT(ls_list_head);
lustre/obdclass/lu_object.c:static struct list_head lu_device_types;
lustre/obdclass/lu_object.c:static struct list_head lu_sites;
lustre/obdclass/lu_object.c:static atomic_t lu_key_initing_cnt = ATOMIC_INIT(0);
lustre/obdclass/lu_object.c:static struct list_head lu_context_remembered;
lustre/obdclass/lu_ref.c:static struct list_head lu_ref_refs;
lustre/obdclass/lu_ref.c:static spinlock_t lu_ref_refs_guard;
lustre/obdclass/lustre_handles.c:static spinlock_t handle_base_lock;
lustre/obdclass/lustre_peer.c:static struct list_head   g_uuid_list;
lustre/obdclass/lustre_peer.c:static spinlock_t g_uuid_lock;
lustre/obdclass/obd_config.c:static struct list_head lustre_profile_list =
lustre/obdclass/obd_mount_server.c:static struct list_head server_mount_info_list =
lustre/obdclass/obd_mount_server.c:static struct list_head lwp_register_list =
lustre/osc/osc_request.c:struct list_head osc_shrink_list = LIST_HEAD_INIT(osc_shrink_list);
lustre/osd-ldiskfs/osd_iam.c:static struct list_head iam_formats = LIST_HEAD_INIT(iam_formats);
lustre/osd-ldiskfs/osd_oi.c:static struct mutex oi_init_lock;
lustre/osp/osp_sync.c:static struct list_head osp_id_tracker_list =
lustre/ptlrpc/client.c:static spinlock_t ptlrpc_last_xid_lock;
lustre/ptlrpc/gss/gss_krb5_mech.c:static spinlock_t krb5_seq_lock;
lustre/ptlrpc/gss/gss_mech_switch.c:static struct list_head registered_mechs = LIST_HEAD_INIT(registered_mechs);
lustre/ptlrpc/gss/gss_pipefs.c:static atomic_t upcall_seq = ATOMIC_INIT(0);
lustre/ptlrpc/gss/gss_pipefs.c:static struct list_head upcall_lists[MECH_MAX];
lustre/ptlrpc/gss/gss_pipefs.c:static spinlock_t upcall_locks[MECH_MAX];
lustre/ptlrpc/gss/gss_svc_upcall.c:static spinlock_t __ctx_index_lock;
lustre/ptlrpc/pack_generic.c:struct list_head ptlrpc_rs_debug_lru =
lustre/ptlrpc/pinger.c:struct mutex pinger_mutex;
lustre/ptlrpc/pinger.c:static struct list_head pinger_imports =
lustre/ptlrpc/pinger.c:static struct list_head timeout_list =
lustre/ptlrpc/pinger.c:static wait_queue_head_t pet_waitq;
lustre/ptlrpc/pinger.c:static struct list_head   pet_list;
lustre/ptlrpc/ptlrpcd.c:struct mutex ptlrpcd_mutex;
lustre/ptlrpc/sec.c:static atomic_t sptlrpc_sec_id = ATOMIC_INIT(1);
lustre/ptlrpc/sec_config.c:static struct mutex sptlrpc_conf_lock;
lustre/ptlrpc/sec_config.c:static struct list_head sptlrpc_confs;
lustre/ptlrpc/sec_gc.c:static struct mutex sec_gc_mutex;
lustre/ptlrpc/sec_gc.c:static spinlock_t sec_gc_list_lock;
lustre/ptlrpc/sec_gc.c:static struct list_head sec_gc_list;
lustre/ptlrpc/sec_gc.c:static spinlock_t sec_gc_ctx_list_lock;
lustre/ptlrpc/sec_gc.c:static struct list_head sec_gc_ctx_list;
lustre/ptlrpc/sec_gc.c:static atomic_t sec_gc_wait_del = ATOMIC_INIT(0);
lustre/ptlrpc/service.c:struct list_head ptlrpc_all_services;
lustre/ptlrpc/service.c:struct mutex ptlrpc_all_services_mutex;
lustre/quota/qsd_config.c:static struct list_head qfs_list = LIST_HEAD_INIT(qfs_list);
lustre/tests/it_test.c:static struct list_head header = LIST_HEAD_INIT(header);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Note that there are some easily identified false positives among the matches.&lt;/p&gt;

&lt;p&gt;Often this means that the structure can be declared static in the file where it is defined.&lt;/p&gt;

&lt;p&gt;One patch per module (where needed) would probably be about right. Except for LNet which is by far the worst offender. Fixing it would mean breaking up the &lt;tt&gt;the_lnet&lt;/tt&gt; object. So it wouldn&apos;t be a small change but the change could easily be broken into small chunks by working file by file. For example several members (including &lt;tt&gt;ln_eq_waitq&lt;/tt&gt;) are only used in lib-eq.c and could be removed and replaced with a static object in lib-eq.c (&lt;tt&gt;static DECLARE_WAIT_QUEUE_HEAD(lnet_eq_waitq)&lt;/tt&gt;).&lt;/p&gt;

&lt;p&gt;I&apos;ll upload a patch for ldlm as an example.&lt;/p&gt;</description>
                <environment></environment>
        <key id="42945">LU-9010</key>
            <summary>use static initialization for statically allocated objects when possible</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="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="1">Fixed</resolution>
                                        <assignee username="arshad512">Arshad Hussain</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                    </labels>
                <created>Wed, 11 Jan 2017 15:52:00 +0000</created>
                <updated>Fri, 5 Jul 2019 18:00:26 +0000</updated>
                            <resolved>Thu, 27 Jun 2019 14:59:02 +0000</resolved>
                                                    <fixVersion>Lustre 2.13.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="180457" author="gerrit" created="Wed, 11 Jan 2017 16:00:46 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/24824&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24824&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9010&quot; title=&quot;use static initialization for statically allocated objects when possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9010&quot;&gt;&lt;del&gt;LU-9010&lt;/del&gt;&lt;/a&gt; ldlm: use static initializer macros where possible&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 37dcc8dfe4484fcd81ddf510d8a3d1ac043395b5&lt;/p&gt;</comment>
                            <comment id="180465" author="jay" created="Wed, 11 Jan 2017 16:48:16 +0000"  >&lt;p&gt;Is there any other benefits for us to do so besides one line code less in the implementation?&lt;/p&gt;</comment>
                            <comment id="180471" author="gerrit" created="Wed, 11 Jan 2017 17:05:19 +0000"  >&lt;p&gt;John L. Hammond (john.hammond@intel.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/24827&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24827&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9010&quot; title=&quot;use static initialization for statically allocated objects when possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9010&quot;&gt;&lt;del&gt;LU-9010&lt;/del&gt;&lt;/a&gt; obdclass: use static initializer macros where possible&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: fe719739e1d01f09eb378050fd51071ef45b83ba&lt;/p&gt;</comment>
                            <comment id="180473" author="jhammond" created="Wed, 11 Jan 2017 17:13:51 +0000"  >&lt;p&gt;&amp;gt; Is there any other benefits for us to do so besides one line code less in the implementation?&lt;/p&gt;

&lt;p&gt;Safer code.&lt;/p&gt;</comment>
                            <comment id="180475" author="simmonsja" created="Wed, 11 Jan 2017 17:35:20 +0000"  >&lt;p&gt;Also upstream likes this kind of work alot &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="180489" author="jhammond" created="Wed, 11 Jan 2017 18:32:02 +0000"  >&lt;p&gt;Steve, can you add this to your pipeline?&lt;/p&gt;</comment>
                            <comment id="180490" author="sguminsx" created="Wed, 11 Jan 2017 18:37:36 +0000"  >&lt;p&gt;Sure, I&apos;ll add this to my queue.&lt;/p&gt;</comment>
                            <comment id="189345" author="gerrit" created="Thu, 23 Mar 2017 01:41:24 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/24827/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24827/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9010&quot; title=&quot;use static initialization for statically allocated objects when possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9010&quot;&gt;&lt;del&gt;LU-9010&lt;/del&gt;&lt;/a&gt; obdclass: use static initializer macros where possible&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d675a1fe48be5d86a3fdb9ccc9542a748cc007a0&lt;/p&gt;</comment>
                            <comment id="198015" author="gerrit" created="Sat, 3 Jun 2017 03:57:54 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/24824/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24824/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9010&quot; title=&quot;use static initialization for statically allocated objects when possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9010&quot;&gt;&lt;del&gt;LU-9010&lt;/del&gt;&lt;/a&gt; ldlm: use static initializer macros where possible&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: cdfb271f37288c038f5b525fe7764df59d92e0b3&lt;/p&gt;</comment>
                            <comment id="198064" author="simmonsja" created="Sat, 3 Jun 2017 14:47:45 +0000"  >&lt;p&gt;I assume more work is left&lt;/p&gt;</comment>
                            <comment id="239189" author="gerrit" created="Fri, 28 Dec 2018 16:11:27 +0000"  >&lt;p&gt;Arshad Hussain (arshad.super@gmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33932&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33932&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9010&quot; title=&quot;use static initialization for statically allocated objects when possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9010&quot;&gt;&lt;del&gt;LU-9010&lt;/del&gt;&lt;/a&gt; lnet: Change static defines to use macro for module.c&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 43b1cd8ff3b5e66856b5ccbac7d5e8d1015e0de6&lt;/p&gt;</comment>
                            <comment id="239190" author="gerrit" created="Fri, 28 Dec 2018 16:23:17 +0000"  >&lt;p&gt;Arshad Hussain (arshad.super@gmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33933&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33933&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9010&quot; title=&quot;use static initialization for statically allocated objects when possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9010&quot;&gt;&lt;del&gt;LU-9010&lt;/del&gt;&lt;/a&gt; libcfs: Change static defines to use macro for watchdog.c&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 74617c39ad87a17c09724b7f166ebbb4ea395e14&lt;/p&gt;</comment>
                            <comment id="239191" author="gerrit" created="Fri, 28 Dec 2018 16:32:16 +0000"  >&lt;p&gt;Arshad Hussain (arshad.super@gmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33934&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33934&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9010&quot; title=&quot;use static initialization for statically allocated objects when possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9010&quot;&gt;&lt;del&gt;LU-9010&lt;/del&gt;&lt;/a&gt; ptlrpc: Change static defines to use macro for gss_svc_upcall.c&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: d78c59dd8603318d3ea64933426dc690a621a254&lt;/p&gt;</comment>
                            <comment id="239192" author="gerrit" created="Fri, 28 Dec 2018 16:35:02 +0000"  >&lt;p&gt;Arshad Hussain (arshad.super@gmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33935&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33935&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9010&quot; title=&quot;use static initialization for statically allocated objects when possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9010&quot;&gt;&lt;del&gt;LU-9010&lt;/del&gt;&lt;/a&gt; tests: Change static defines to use macro for kinode.c&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: d6be3ea3d2760d1cbbd732706b69b400c9d47a7c&lt;/p&gt;</comment>
                            <comment id="239193" author="gerrit" created="Fri, 28 Dec 2018 16:38:59 +0000"  >&lt;p&gt;Arshad Hussain (arshad.super@gmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33936&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33936&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9010&quot; title=&quot;use static initialization for statically allocated objects when possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9010&quot;&gt;&lt;del&gt;LU-9010&lt;/del&gt;&lt;/a&gt; ptlrpc: Change static defines to use macro for gss_krb5_mech.c&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 07d7655a47a397157022ed0ae96bbdc282cc11df&lt;/p&gt;</comment>
                            <comment id="239194" author="gerrit" created="Fri, 28 Dec 2018 16:42:23 +0000"  >&lt;p&gt;Arshad Hussain (arshad.super@gmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/33937&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33937&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9010&quot; title=&quot;use static initialization for statically allocated objects when possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9010&quot;&gt;&lt;del&gt;LU-9010&lt;/del&gt;&lt;/a&gt; ptlrpc: Change static defines to use macro for sec_gc.c&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 273afce8f524993bf06e5b3e58ba98959c233f4e&lt;/p&gt;</comment>
                            <comment id="239694" author="gerrit" created="Thu, 10 Jan 2019 06:18:02 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33934/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33934/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9010&quot; title=&quot;use static initialization for statically allocated objects when possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9010&quot;&gt;&lt;del&gt;LU-9010&lt;/del&gt;&lt;/a&gt; ptlrpc: Change static defines to use macro for gss_svc_upcall.c&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8c9a8a0d451cbc7c76e96e8e501f98b169726f53&lt;/p&gt;</comment>
                            <comment id="239695" author="gerrit" created="Thu, 10 Jan 2019 06:18:09 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33935/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33935/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9010&quot; title=&quot;use static initialization for statically allocated objects when possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9010&quot;&gt;&lt;del&gt;LU-9010&lt;/del&gt;&lt;/a&gt; tests: Change static defines to use macro for kinode.c&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 92bc4cfabc4e1411a423da0efb23011f3b7c4849&lt;/p&gt;</comment>
                            <comment id="244366" author="gerrit" created="Thu, 21 Mar 2019 03:43:29 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33937/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33937/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9010&quot; title=&quot;use static initialization for statically allocated objects when possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9010&quot;&gt;&lt;del&gt;LU-9010&lt;/del&gt;&lt;/a&gt; ptlrpc: Change static defines to use macro for sec_gc.c&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 50c01e02506fbeb50bc36a2ccfcb7037bb65cd2f&lt;/p&gt;</comment>
                            <comment id="246696" author="gerrit" created="Sat, 4 May 2019 05:57:37 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33936/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33936/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9010&quot; title=&quot;use static initialization for statically allocated objects when possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9010&quot;&gt;&lt;del&gt;LU-9010&lt;/del&gt;&lt;/a&gt; ptlrpc: Change static defines to use macro for gss_krb5_mech.c&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ad51768ddb043c5fd2a3c6b8663c66b71dc3f391&lt;/p&gt;</comment>
                            <comment id="249914" author="gerrit" created="Tue, 25 Jun 2019 01:54:22 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/33932/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/33932/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9010&quot; title=&quot;use static initialization for statically allocated objects when possible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9010&quot;&gt;&lt;del&gt;LU-9010&lt;/del&gt;&lt;/a&gt; lnet: Change static defines to use macro for module.c&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: bb967468875f967c9463afb19c3fbd27cfdf0688&lt;/p&gt;</comment>
                            <comment id="249948" author="arshad512" created="Tue, 25 Jun 2019 04:42:20 +0000"  >&lt;p&gt;@James Simmons,&lt;br/&gt;
Any work more left on this.? This could be closed now. &lt;/p&gt;</comment>
                            <comment id="250141" author="simmonsja" created="Thu, 27 Jun 2019 14:58:25 +0000"  >&lt;p&gt;I think its safe to close this. Might be some we missed but that is what &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6142&quot; title=&quot;Enforce Linux kernel coding style in all code&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6142&quot;&gt;LU-6142&lt;/a&gt; is for &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="250142" author="simmonsja" created="Thu, 27 Jun 2019 14:59:02 +0000"  >&lt;p&gt;Arshad finished this work off &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&#160;Great job&lt;/p&gt;</comment>
                            <comment id="250765" author="arshad512" created="Fri, 5 Jul 2019 17:45:57 +0000"  >&lt;p&gt;Thank you James.&lt;/p&gt;

&lt;p&gt;... and it looks like &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6142&quot; title=&quot;Enforce Linux kernel coding style in all code&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6142&quot;&gt;LU-6142&lt;/a&gt; is also going to get resolved soon. &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="250769" author="simmonsja" created="Fri, 5 Jul 2019 18:00:26 +0000"  >&lt;p&gt;I think we have more to go. Their are things Lustre checkpatch doesn&apos;t report that the upstream linux kernel one does. Also I need to push a patch to tell people to stop with the __u32 type usage in kernel code. The tabs is nearly done. We also have LNet which is a complete mess !!!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="28279">LU-6142</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|hzz0f3:</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>