[lvm-devel] [PATCH] Enable use of cached metadata for pvs & pvdisplay

Takahiro Yasui tyasui at redhat.com
Tue Apr 7 03:04:04 UTC 2009


Hi Milan,

> @@ -435,5 +435,5 @@ int pvs(struct cmd_context *cmd, int argc, char **argv)
...
> -	return _report(cmd, argc, argv, type);
> +	return  _report(cmd, argc, argv, type);

> @@ -638,8 +639,12 @@ static int _process_all_devs(struct cmd_context *cmd, void *handle,
...
>  	dev_iter_destroy(iter);
> -
> +	

Those two lines are unnecessary change?


By the way, I tested this patch in my environment at the point of
the number of I/Os, and I found that I/Os were reduced as expected.

Tested-by: Takahiro Yasui <tyasui at redhat.com>

Thanks,
Taka




More information about the lvm-devel mailing list