Description
There are many "command groups" like "lctl lfsck_start", "... lfsck_stop", "... lfsck_query" that would be better handled as subcommands like "lctl lfsck start", "lctl lfsck stop", etc. in the way that "lfs mirror create" and "lfs pcc attach" are implemented.
For lctl these include barrier_*, snapshot_*, lcfg_*, llog_*, nodemap_*, net_drop_*, net_delay_*, changelog_*, and for lfs it is only hsm_*.
Probably each one could be a separate patch. The old commands should be kept for compatibility, but the usage messages and man pages should all reference the new format.
The man page should be renamed, but there should also should be manpage .so link added for the old format of the command (with a "-" instead of a "_" in the name).
Attachments
Issue Links
- is related to
-
LU-18170 conf-sanity test_123ad: 'llog print only showed 92/93 records'
-
- Resolved
-
-
LU-18148 Add lctl-llog_remove man page
-
- Resolved
-
- is related to
-
LU-5170 lfs usability
-
- Open
-
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/56207/
Subject: LU-18114 nodemap: split "lctl nodemap_*" group into subcommands
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 75116202aa1977d0f94f05e2406cecfd24356124