Re: [PATCH] mm,hwpoison: Return -EBUSY when migration fails

From: Oscar Salvador
Date: Wed Dec 09 2020 - 05:37:51 EST


On Wed, Dec 09, 2020 at 10:59:04AM +0100, David Hildenbrand wrote:
> On 09.12.20 10:28, Oscar Salvador wrote:
> Do we expect callers to retry immediately? -EAGAIN might make also
> sense. But -EBUSY is an obvious improvement. Do we have callers relying
> on this behavior?

Not really, unless something LTP takes a look at the error code in retries
in case EBUSY.

Take into account that most of the callers do not even really check the
return code (GHES, RAS/CEC, etc.)

--
Oscar Salvador
SUSE L3