Skip to contentSkip to conversation

cmd:Elaborate ‘blkcache’ cmd HELP statement

PATCH Superseded [email protected] 2 participants 2 messages Jun 1, 2021 – Jun 26, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmd:Elaborate ‘blkcache’ cmd HELP statement

From: Adarsh Babu Kalepalli <[email protected]>

"HELP description is provided for ‘configure’ sub-command of ‘blkcache’.

---

 cmd/blkcache.c | 1 +
 1 file changed, 1 insertion(+)
cmd/blkcache.c +1 -0
index 25f252e455..89ae52150a 100644
@@ -84,4 +84,5 @@ U_BOOT_CMD(
 	"block cache diagnostics and control",
 	"show - show and reset statistics\n"
 	"blkcache configure blocks entries\n"
+	"	- configure 'max blocks/entry' to 'blocks' and 'max cache entries' to 'entries'\n"
 );
Signature · 1 line
2.17.1
#1 lore raw

+Heinrich Schuchardt

Hi,

Quoted 17 lines · On Tue, 1 Jun 2021 at 00:06, <[email protected]> wrote:

From: Adarsh Babu Kalepalli <[email protected]>

"HELP description is provided for ‘configure’ sub-command of ‘blkcache’.

---

 cmd/blkcache.c | 1 +
 1 file changed, 1 insertion(+)
cmd/blkcache.c +0 -0
index 25f252e455..89ae52150a 100644

cmd/blkcache.c U_BOOT_CMD( · line 87

Quoted 4 lines
cmd/blkcache.c +1 -0
@@ -84,4 +84,5 @@ U_BOOT_CMD(
        "block cache diagnostics and control",
        "show - show and reset statistics\n"
        "blkcache configure blocks entries\n"
+       "       - configure 'max blocks/entry' to 'blocks' and 'max cache entries' to 'entries'\n"

How about something like this

Quoted 7 lines
cmd/blkcache.c +0 -0
        "blkcache configure <blocks> <entries> - set max blocks per entry and max cache entries\n"

);
--
2.17.1

Regards,
Simon