Re: [PATCH 0/3] dax: clear poison on the fly along pwrite

2021-09-23 Thread Jane Chu
On 9/15/2021 1:27 PM, Dan Williams wrote: I'm also thinking about the MOVEDIR64B instruction and how it might be used to clear poison on the fly with a single 'store'. Of course, that means we need to figure out how to narrow down the error blast radius first. It turns out the MOVDIR64B error cl

Re: [PATCH 0/3] dax: clear poison on the fly along pwrite

2021-09-23 Thread Jane Chu
On 9/15/2021 9:15 AM, Darrick J. Wong wrote: On Wed, Sep 15, 2021 at 12:22:05AM -0700, Jane Chu wrote: Hi, Dan, On 9/14/2021 9:44 PM, Dan Williams wrote: On Tue, Sep 14, 2021 at 4:32 PM Jane Chu wrote: If pwrite(2) encounters poison in a pmem range, it fails with EIO. This is unecessary if

Re: [PATCH 0/3] dax: clear poison on the fly along pwrite

2021-09-23 Thread Dan Williams
On Thu, Sep 23, 2021 at 1:56 PM Jane Chu wrote: [..] > > This (AFAICT) has already been done for dax_zero_page_range, so I sense > > that Dan is trying to save you a bunch of code plumbing work by nudging > > you towards doing s/dax_clear_poison/dax_zero_page_range/ to this series > > and then you