Re: [PATCH v10 4/7] dax: introduce DAX_RECOVERY_WRITE dax access mode

2022-05-16 Thread Vivek Goyal
On Fri, May 13, 2022 at 02:55:59PM -0700, Dan Williams wrote: > From: Jane Chu > > Up till now, dax_direct_access() is used implicitly for normal > access, but for the purpose of recovery write, dax range with > poison is requested. To make the interface clear, introduce > enum dax_access_

Re: [PATCH v10 4/7] dax: introduce DAX_RECOVERY_WRITE dax access mode

2022-05-13 Thread Dan Williams
On Fri, May 13, 2022 at 2:56 PM Dan Williams wrote: > > From: Jane Chu > > Up till now, dax_direct_access() is used implicitly for normal > access, but for the purpose of recovery write, dax range with > poison is requested. To make the interface clear, introduce > enum dax_access_mode {

[PATCH v10 4/7] dax: introduce DAX_RECOVERY_WRITE dax access mode

2022-05-13 Thread Dan Williams
From: Jane Chu Up till now, dax_direct_access() is used implicitly for normal access, but for the purpose of recovery write, dax range with poison is requested. To make the interface clear, introduce enum dax_access_mode { DAX_ACCESS, DAX_RECOVERY_WRITE,