Skip to content

Commit

Permalink
DAOS-14474 dfs: remove unused --evict option from checker (#13616)
Browse files Browse the repository at this point in the history
The dfs fs check command already allows evicting containers using the
--flags=evict option. the --evict option was added by mistake and does
not do anything today, so remove it.

Signed-off-by: Mohamad Chaarawi <mohamad.chaarawi@intel.com>
  • Loading branch information
mchaarawi committed Jan 22, 2024
1 parent 1946ef3 commit 22687b7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/control/cmd/daos/filesystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ type fsCheckCmd struct {

FsckFlags FsCheckFlag `long:"flags" short:"f" description:"comma-separated flags: print, remove, relink, verify, evict"`
DirName string `long:"dir-name" short:"n" description:"directory name under lost+found to store leaked oids (a timestamp dir would be created if this is not specified)"`
Evict bool `long:"evict" short:"e" description:"evict all open handles on the container"`
}

func (cmd *fsCheckCmd) Execute(_ []string) error {
Expand Down

0 comments on commit 22687b7

Please sign in to comment.