From: NeilBrown Date: Mon, 29 Sep 2014 22:53:05 +0000 (+1000) Subject: md: mark some attributes as pre-alloc X-Git-Tag: fixes-v4.0-rc2~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=750f199ee8b578062341e6ddfe36c59ac8ff2dcb;p=pandora-kernel.git 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: NeilBrown --- Reading git-diff-tree failed