Re: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-08-19 Thread Jane Chu
On 8/19/2021 2:10 AM, ruansy.f...@fujitsu.com wrote: From: Jane Chu Subject: Re: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure() Sorry, correction in line. On 8/19/2021 12:18 AM, Jane Chu wrote: Hi, Shiyang, >  > > 1) What does it take and

RE: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-08-19 Thread ruansy.f...@fujitsu.com
> From: Jane Chu > Subject: Re: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure() > > Sorry, correction in line. > > On 8/19/2021 12:18 AM, Jane Chu wrote: > > Hi, Shiyang, > > > > >  > > 1) What does it take and cost to make >  >

Re: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-08-19 Thread Jane Chu
Sorry, correction in line. On 8/19/2021 12:18 AM, Jane Chu wrote: Hi, Shiyang, >  > > 1) What does it take and cost to make >  > > xfs_sb_version_hasrmapbt(>m_sb) to return true? > > Enable rmpabt feature when making xfs filesystem > `mkfs.xfs -m rmapbt=1 /path/to/device` > BTW,

Re: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-08-19 Thread Jane Chu
Hi, Shiyang, > > > 1) What does it take and cost to make > > > xfs_sb_version_hasrmapbt(>m_sb) to return true? > > Enable rmpabt feature when making xfs filesystem > `mkfs.xfs -m rmapbt=1 /path/to/device` > BTW, reflink is enabled by default. Thanks! I tried mkfs.xfs -d

Re: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-08-18 Thread Dan Williams
On Wed, Aug 18, 2021 at 12:52 AM ruansy.f...@fujitsu.com wrote: > > > > > -Original Message- > > From: Jane Chu > > Subject: Re: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure() > > > > > > On 8/17/2021 10:43 PM, Jane Chu wro

Re: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-08-18 Thread Darrick J. Wong
On Tue, Aug 17, 2021 at 11:08:40PM -0700, Jane Chu wrote: > > On 8/17/2021 10:43 PM, Jane Chu wrote: > > More information - > > > > On 8/16/2021 10:20 AM, Jane Chu wrote: > > > Hi, ShiYang, > > > > > > So I applied the v6 patch series to my 5.14-rc3 as it's what you > > > indicated is what v6

RE: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-08-18 Thread ruansy.f...@fujitsu.com
> -Original Message- > From: Jane Chu > Subject: Re: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure() > > > On 8/17/2021 10:43 PM, Jane Chu wrote: > > More information - > > > > On 8/16/2021 10:20 AM, Jane Chu wrote: > >>

Re: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-08-18 Thread Jane Chu
On 8/17/2021 10:43 PM, Jane Chu wrote: More information - On 8/16/2021 10:20 AM, Jane Chu wrote: Hi, ShiYang, So I applied the v6 patch series to my 5.14-rc3 as it's what you indicated is what v6 was based at, and injected a hardware poison. I'm seeing the same problem that was reported

Re: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-08-17 Thread Jane Chu
More information - On 8/16/2021 10:20 AM, Jane Chu wrote: Hi, ShiYang, So I applied the v6 patch series to my 5.14-rc3 as it's what you indicated is what v6 was based at, and injected a hardware poison. I'm seeing the same problem that was reported a while ago after the poison was consumed

Re: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-08-16 Thread Jane Chu
Hi, ShiYang, So I applied the v6 patch series to my 5.14-rc3 as it's what you indicated is what v6 was based at, and injected a hardware poison. I'm seeing the same problem that was reported a while ago after the poison was consumed - in the SIGBUS payload, the si_addr is missing: **

Re: [PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-08-05 Thread Jane Chu
The filesystem part of the pmem failure handling is at minimum built on PAGE_SIZE granularity - an inheritance from general memory_failure handling. However, with Intel's DCPMEM technology, the error blast radius is no more than 256bytes, and might get smaller with future hardware generation,

[PATCH RESEND v6 1/9] pagemap: Introduce ->memory_failure()

2021-07-30 Thread Shiyang Ruan
When memory-failure occurs, we call this function which is implemented by each kind of devices. For the fsdax case, pmem device driver implements it. Pmem device driver will find out the filesystem in which the corrupted page located in. And finally call filesystem handler to deal with this