Re: [PATCH v2 1/2] dax: Introduce normal and recovery dax operation modes

2021-11-08 Thread Dan Williams
On Mon, Nov 8, 2021 at 9:26 PM Ira Weiny wrote: > > On Mon, Nov 08, 2021 at 09:02:29PM +, Jane Chu wrote: > > On 11/6/2021 9:48 AM, Dan Williams wrote: > > > On Fri, Nov 5, 2021 at 6:17 PM Jane Chu wrote: > > >> > > >> Introduce DAX_OP_NORMAL and DAX_OP_RECOVERY operation modes to > > >> {dax

Re: [PATCH v2 1/2] dax: Introduce normal and recovery dax operation modes

2021-11-08 Thread Ira Weiny
On Mon, Nov 08, 2021 at 09:02:29PM +, Jane Chu wrote: > On 11/6/2021 9:48 AM, Dan Williams wrote: > > On Fri, Nov 5, 2021 at 6:17 PM Jane Chu wrote: > >> > >> Introduce DAX_OP_NORMAL and DAX_OP_RECOVERY operation modes to > >> {dax_direct_access, dax_copy_from_iter, dax_copy_to_iter}. > >> DAX

Re: [PATCH v2 1/2] dax: Introduce normal and recovery dax operation modes

2021-11-08 Thread Jane Chu
On 11/6/2021 9:48 AM, Dan Williams wrote: > On Fri, Nov 5, 2021 at 6:17 PM Jane Chu wrote: >> >> Introduce DAX_OP_NORMAL and DAX_OP_RECOVERY operation modes to >> {dax_direct_access, dax_copy_from_iter, dax_copy_to_iter}. >> DAX_OP_NORMAL is the default or the existing mode, and >> DAX_OP_RECOVERY

Re: [PATCH v2 1/2] dax: Introduce normal and recovery dax operation modes

2021-11-08 Thread Jane Chu
On 11/5/2021 6:50 PM, Darrick J. Wong wrote: > > > >> diff --git a/include/linux/dax.h b/include/linux/dax.h >> index 324363b798ec..931586df2905 100644 >> --- a/include/linux/dax.h >> +++ b/include/linux/dax.h >> @@ -9,6 +9,10 @@ >> /* Flag for synchronous flush */ >> #define DAXDEV_F_SYNC (

Re: [PATCH v2 1/2] dax: Introduce normal and recovery dax operation modes

2021-11-06 Thread Dan Williams
On Fri, Nov 5, 2021 at 6:17 PM Jane Chu wrote: > > Introduce DAX_OP_NORMAL and DAX_OP_RECOVERY operation modes to > {dax_direct_access, dax_copy_from_iter, dax_copy_to_iter}. > DAX_OP_NORMAL is the default or the existing mode, and > DAX_OP_RECOVERY is a new mode for data recovery purpose. > > Whe

Re: [PATCH v2 1/2] dax: Introduce normal and recovery dax operation modes

2021-11-05 Thread Darrick J. Wong
On Fri, Nov 05, 2021 at 07:16:37PM -0600, Jane Chu wrote: > Introduce DAX_OP_NORMAL and DAX_OP_RECOVERY operation modes to > {dax_direct_access, dax_copy_from_iter, dax_copy_to_iter}. > DAX_OP_NORMAL is the default or the existing mode, and > DAX_OP_RECOVERY is a new mode for data recovery purpose.

[PATCH v2 1/2] dax: Introduce normal and recovery dax operation modes

2021-11-05 Thread Jane Chu
Introduce DAX_OP_NORMAL and DAX_OP_RECOVERY operation modes to {dax_direct_access, dax_copy_from_iter, dax_copy_to_iter}. DAX_OP_NORMAL is the default or the existing mode, and DAX_OP_RECOVERY is a new mode for data recovery purpose. When dax-FS suspects dax media error might be encountered on a r