"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Create.c" between
mdadm-4.2-rc1.tar.xz and mdadm-4.2-rc2.tar.xz

About: mdadm is a tool for creating, managing and monitoring device arrays using the "md" driver in Linux, also known as Software RAID arrays.

Create.c  (mdadm-4.2-rc1.tar.xz):Create.c  (mdadm-4.2-rc2.tar.xz)
skipping to change at line 257 skipping to change at line 257
s->chunk = 64; s->chunk = 64;
if (c->verbose > 0) if (c->verbose > 0)
pr_err("chunk size defaults to 64K\n"); pr_err("chunk size defaults to 64K\n");
} }
break; break;
case 1: case 1:
case LEVEL_FAULTY: case LEVEL_FAULTY:
case LEVEL_MULTIPATH: case LEVEL_MULTIPATH:
case LEVEL_CONTAINER: case LEVEL_CONTAINER:
if (s->chunk) { if (s->chunk) {
s->chunk = 0; pr_err("specifying chunk size is forbidden for this level
if (c->verbose > 0) \n");
pr_err("chunk size ignored for this level\n"); return 1;
} }
break; break;
default: default:
pr_err("unknown level %d\n", s->level); pr_err("unknown level %d\n", s->level);
return 1; return 1;
} }
if (s->size == MAX_SIZE) if (s->size == MAX_SIZE)
/* use '0' to mean 'max' now... */ /* use '0' to mean 'max' now... */
s->size = 0; s->size = 0;
 End of changes. 1 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)