[PATCH 6.16 385/457] md: add helper rdev_needs_recovery()