Skip to content

Commit 0a2fa82

Browse files
authored
remove Remove LFRU config
Some LFRU configurations are no longer in use, but they are still present in the code. ref: 3a71a9c
1 parent dfa23e7 commit 0a2fa82

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

core/cfg/flags.go

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -609,36 +609,6 @@ MISC OPTIONS:
609609
Usage: "Maximum read retry attempts (0 means unlimited)",
610610
},
611611

612-
cli.IntFlag{
613-
Name: "cache-popular-threshold",
614-
Value: 3,
615-
Usage: "Value of the read counter after which a cached file is started being treated as 'popular'",
616-
},
617-
618-
cli.IntFlag{
619-
Name: "cache-max-hits",
620-
Value: 6,
621-
Usage: "Maximum value of the cache read counter for a file",
622-
},
623-
624-
cli.IntFlag{
625-
Name: "cache-age-interval",
626-
Value: 4096,
627-
Usage: "Number of reads after which read counters are decremented for all files",
628-
},
629-
630-
cli.IntFlag{
631-
Name: "cache-age-decrement",
632-
Value: 1,
633-
Usage: "Decrement amount",
634-
},
635-
636-
cli.IntFlag{
637-
Name: "cache-to-disk-hits",
638-
Value: 2,
639-
Usage: "Minimum value of the read counter to cache file on disk",
640-
},
641-
642612
cli.IntFlag{
643613
Name: "max-disk-cache-fd",
644614
Value: 512,

0 commit comments

Comments
 (0)