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