char *real_sys_path = NULL;
int rc;
+ /*
+ * Don't apply block device tuning for MDT or MGT devices,
+ * since we don't need huge IO sizes to get good performance
+ */
+ if (!IS_OST(&mop->mo_ldd))
+ return 0;
+
if (src == NULL)
return EINVAL;
goto have_whole_dev;
if (verbose)
- fprintf(stderr,
- "warning: cannot access '%s': %s\n",
+ fprintf(stderr, "warning: cannot access '%s': %s\n",
partition_path, strerror(errno));
rc = errno;
goto out;