[dm-devel] [PATCH 6/6] dm-stripe: Fix error message

Tomohiro Kusumi kusumi.tomohiro at gmail.com
Thu Oct 29 11:36:52 UTC 2015


i respect what you say.
anyhow thanks for applying the rest of the patches :)

2015-10-29 7:00 GMT+09:00 Mike Snitzer <snitzer at redhat.com>:

> On Wed, Oct 28 2015 at  4:40pm -0400,
> Tomohiro Kusumi <kusumi.tomohiro at gmail.com> wrote:
>
> > hi, thanks for your reply.
> >
> > I understand what you mean, but that's the reason.
> > I happened to use something like below via dmsetup
> >
> > --table '0 100 striped 2 4 /dev/xxx 0 /dev/yyy 0'
> >
> > and hit this message which is not obvious as long as it says "Target
> > length".
> > Users have no idea 50/4 was what was really done in kernel space.
>
> You're allowing a very literal look at the code to cloud your perception
> of the error and concluding that it is misleading/incorrect.
>
> Just because the code does math in a certain order doesn't change the
> fact that the error message is still correct (if/when it is reported).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20151029/c9dc463f/attachment.htm>


More information about the dm-devel mailing list