Re: [PATCH v11 1/8] dax: Introduce holder for dax_device
From: Christoph Hellwig
Date: Wed Mar 30 2022 - 06:13:23 EST
On Wed, Mar 30, 2022 at 06:03:01PM +0800, Shiyang Ruan wrote:
>
> Because I am not sure if the offset between each layer is page aligned. For
> example, when pmem dirver handles ->memory_failure(), it should subtract its
> ->data_offset when it calls dax_holder_notify_failure().
If they aren't, none of the DAX machinery would work.