Re: [PATCH v5 2/7] dax: introduce dax device flag DAXDEV_RECOVERY

From: Christoph Hellwig
Date: Thu Feb 03 2022 - 08:43:22 EST


On Wed, Feb 02, 2022 at 09:27:42PM +0000, Jane Chu wrote:
> Yeah, I see. Would you suggest a way to pass the indication from
> dax_iomap_iter to dax_direct_access that the caller intends the
> callee to ignore poison in the range because the caller intends
> to do recovery_write? We tried adding a flag to dax_direct_access, and
> that wasn't liked if I recall.

To me a flag seems cleaner than this magic, but let's wait for Dan to
chime in.