Re: [PATCH] btrfs-progs: provide better error message for raid profile mismatch

2014-05-28 Thread David Sterba
On Fri, May 16, 2014 at 05:20:56PM +0900, Hidetoshi Seto wrote: > Current error messages are like following: > Error: unable to create FS with metadata profile 32 (have 2 devices) > Error: unable to create FS with metadata profile 256 (have 2 devices) > > Obviously it is hard for users to inte

[PATCH] btrfs-progs: provide better error message for raid profile mismatch

2014-05-16 Thread Hidetoshi Seto
Current error messages are like following: Error: unable to create FS with metadata profile 32 (have 2 devices) Error: unable to create FS with metadata profile 256 (have 2 devices) Obviously it is hard for users to interpret "profile XX" to proper meaning, such as "raidN". So use recongizable