[LU-13107] clean up lctl commands Created: 28/Dec/19  Updated: 31/Jan/24  Resolved: 05/May/21

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

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: Andreas Dilger
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-6202 clean up ioctl handling Open
is related to LU-16634 Null pointer dereference in lustre_se... Resolved
is related to LU-17489 fix 'lfs getname' ioctl breakage Open
Rank (Obsolete): 9223372036854775807

 Description   

Remove an obsolete lctl command ("lov_getconfig"), as well as the ioctl that it was calling. It was only recently used by sanity test_44a, which can instead use "lfs getstripe -d $DIR" now that LU-11656 is landed.

The lctl command list should also be reordered so that the "testing (DANGEROUS)" commands are listed at the end, and LFSCK and llog commands are before that, to avoid confusion.

There are also a number of very ancient jt_ptl_ and jt_obd_ function definitions and ancient ioctl numbers defined that are no longer used and can be removed.



 Comments   
Comment by Gerrit Updater [ 28/Dec/19 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37106
Subject: LU-13107 utils: remove lctl lov_getconfig command
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 65eda0b10346dd88b81e37ec2741b589b82142c0

Comment by Gerrit Updater [ 28/Dec/19 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37107
Subject: LU-13107 uapi: remove obsolete ioctls
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 8a050e48b2bef44cc2739cc1c705a7383113383a

Comment by Gerrit Updater [ 28/Dec/19 ]

Andreas Dilger (adilger@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37108
Subject: LU-13107 utils: clean up lctl command usage
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 8d6b295ffb2e421335b99b31ebd7027f6e8fd848

Comment by Gerrit Updater [ 13/Mar/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37106/
Subject: LU-13107 utils: remove lctl lov_getconfig command
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: d2cb789537485eec9bfc5bc7d4c85025b0488478

Comment by Gerrit Updater [ 10/Apr/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37107/
Subject: LU-13107 uapi: remove obsolete ioctls
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 0f38a0b9db4f7c6c101ee55fe7b94d49a32eabe9

Comment by Gerrit Updater [ 05/May/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37108/
Subject: LU-13107 utils: clean up lctl command usage
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: b0efebdaef52d8ac9b02857166ceb00079612ebc

Comment by Peter Jones [ 05/May/21 ]

Seems to have all landed for 2.15

Comment by Gerrit Updater [ 17/Oct/22 ]

"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/48886
Subject: LU-13107 utils: remove duplicate lctl erase/fork_lcfg
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 44c558d9b540c9f2d106a72f76559c044537346c

Comment by Gerrit Updater [ 28/Mar/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/48886/
Subject: LU-13107 utils: remove duplicate lctl erase/fork_lcfg
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: ccee6b92ec4d338f54df0ebb2e8533b870265e4b

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