search for: parse_profil

Displaying 2 results from an estimated 2 matches for "parse_profil".

Did you mean: parse_profile
2011 Nov 01
0
[PATCH] Btrfs-progs: change the way mkfs picks raid profiles
...& ~allowed) { + fprintf(stderr, "unable to create FS with data " + "profile %llu (%llu devices)\n", data_profile, + num_devices); + exit(1); + } + if (allowed & metadata_profile) { u64 meta_flags = BTRFS_BLOCK_GROUP_METADATA; @@ -325,15 +352,16 @@ static u64 parse_profile(char *s) if (strcmp(s, "raid0") == 0) { return BTRFS_BLOCK_GROUP_RAID0; } else if (strcmp(s, "raid1") == 0) { - return BTRFS_BLOCK_GROUP_RAID1 | BTRFS_BLOCK_GROUP_DUP; + return BTRFS_BLOCK_GROUP_RAID1; } else if (strcmp(s, "raid10") == 0) { - return BTRFS_...
2012 Feb 03
10
[PATCH 0/3] Btrfs-progs: restriper interface
Hello, This is the userspace part of restriper, rebased onto the new progs infrastructure. Restriper commands are located under ''balance'' prefix, which is now the top level command group. However to not confuse existing users ''balance'' prefix is also available under ''filesystem'': btrfs [filesystem] balance start btrfs [filesystem] balance