Message ID | 155183606560.191625.374613203843183629.stgit@dwillia2-desk3.amr.corp.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ndctl: Optimize label operations | expand |
diff --git a/ndctl/namespace.c b/ndctl/namespace.c index 63b870ff7a6d..05e5ab792941 100644 --- a/ndctl/namespace.c +++ b/ndctl/namespace.c @@ -1016,7 +1016,7 @@ retry: int num_labels, avail; ndctl_cmd_unref(cmd_read); - cmd_read = ndctl_dimm_read_labels(dimm); + cmd_read = ndctl_dimm_read_label_index(dimm); if (!cmd_read) continue;
Use the new ndctl_dimm_read_label_index() helper to minimize the amount of label I/O needed to execute an autolabel event. Signed-off-by: Dan Williams <dan.j.williams@intel.com> --- ndctl/namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)