Skip to content
Commit 750f199e authored by NeilBrown's avatar NeilBrown
Browse files

md: mark some attributes as pre-alloc



Since __ATTR_PREALLOC was introduced in v3.19-rc1~78^2~18
it can now be used by md.

This ensure that writing to these sysfs attributes will never
block due to a memory allocation.
Such blocking could become a deadlock if mdmon is trying to
reconfigure an array after a failure prior to re-enabling writes.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 16d9cfab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment