[LU-8888] Remove unused clt_current_io from struct cl_thread_info Created: 01/Dec/16  Updated: 23/Feb/17  Resolved: 23/Feb/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.10.0

Type: Bug Priority: Minor
Reporter: Dmitry Eremin (Inactive) Assignee: Dmitry Eremin (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

The pointer to the topmost ongoing IO in the thread is not used.



 Comments   
Comment by Gerrit Updater [ 01/Dec/16 ]

Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: http://review.whamcloud.com/24062
Subject: LU-8888 clio: remove clt_current_io from struct cl_thread_info
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: ca8bf62e89f2ead8163c35728d7e12101944003d

Comment by John Hammond [ 01/Dec/16 ]

There are several unused fields in struct cl_thread_info:

t:lustre-release# grep cl_thread_info DeclUse-2.8.60-24-g075f98e/Unused
Field /root/lustre-release/lustre/obdclass/cl_internal.h:55:8:cl_thread_info:clt_descr
Field /root/lustre-release/lustre/obdclass/cl_internal.h:55:8:cl_thread_info:clt_fn_index
Field /root/lustre-release/lustre/obdclass/cl_internal.h:55:8:cl_thread_info:clt_io
Field /root/lustre-release/lustre/obdclass/cl_internal.h:55:8:cl_thread_info:clt_list
Field /root/lustre-release/lustre/obdclass/cl_internal.h:55:8:cl_thread_info:clt_next_index
Field /root/lustre-release/lustre/obdclass/cl_internal.h:55:8:cl_thread_info:clt_pvec
Field /root/lustre-release/lustre/obdclass/cl_internal.h:55:8:cl_thread_info:clt_queue
Comment by Dmitry Eremin (Inactive) [ 01/Dec/16 ]

Thanks John, I updated the patch.

Comment by Gerrit Updater [ 23/Feb/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/24062/
Subject: LU-8888 clio: remove unused members from struct cl_thread_info
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: ad8f66967d66238539700081d555ebc08e43cead

Comment by Peter Jones [ 23/Feb/17 ]

Landed for 2.10

Generated at Sat Feb 10 02:21:25 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.