[PATCH openEuler-1.0-LTS 048/149] md/raid1: properly indicate failure when ending a failed write request