Re: problem hot-adding spare / internal bitmap problem?

From
Alexander Lyakas <hidden>
Date
2012-07-29 07:32:34
Reply to
Mikael Abrahamsson, 2012-07-29
Hi,
write(4,
"bitm\4\0\0\0~\332I'%L\33n\363\303\24J\237AY\322\267\252J\0\0\0\0\0"...,
2560) = -1 EINVAL (Invalid argument)
This mdadm version has a problem of opening the device with O_DIRECT,
but then using an unaligned buffer for write().
Your strace doesn't contain the open() command for fd=4, so please
look earlier in your strace to confirm the O_DIRECT part. Also,
confirm that this write that returns EINVAL uses an unaligned buffer.

Once you confirmed these, grab mdadm 3.2.4 or the following commit:
6ef8905 super1: make aread/awrite always use an aligned buffer.

Thanks,
Alex.
Thread (4 messages) 4 messages, 2 authors, last reply 2012-07-30
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help