move raidmindisks inline function to main header.
it's useful for converting raid level to minimum disk requirement.
import text macros for insufficient raid disks
block: cache the RAID device path we are using, as there is no guarantee
we can use the device's path.