Add provider's sectorsize and stripesize to confdot output.
Submitted by: rpokala at panasas.com
This commit is contained in:
parent
0ffd63f0ea
commit
52fa0beb0a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273208
@ -61,8 +61,9 @@ static void
|
||||
g_confdot_provider(struct sbuf *sb, struct g_provider *pp)
|
||||
{
|
||||
|
||||
sbuf_printf(sb, "z%p [shape=hexagon,label=\"%s\\nr%dw%de%d\\nerr#%d\"];\n",
|
||||
pp, pp->name, pp->acr, pp->acw, pp->ace, pp->error);
|
||||
sbuf_printf(sb, "z%p [shape=hexagon,label=\"%s\\nr%dw%de%d\\nerr#%d\\n"
|
||||
"sector=%u\\nstripe=%u\"];\n", pp, pp->name, pp->acr, pp->acw,
|
||||
pp->ace, pp->error, pp->sectorsize, pp->stripesize);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user