[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f3f93809-ba68-521f-70d8-27f1ba5d0036@oracle.com>
Date: Fri, 8 Jan 2021 10:14:58 -0800
From: Jane Chu <jane.chu@...cle.com>
To: Ruan Shiyang <ruansy.fnst@...fujitsu.com>,
"Darrick J. Wong" <darrick.wong@...cle.com>
Cc: linux-kernel@...r.kernel.org, linux-xfs@...r.kernel.org,
linux-nvdimm@...ts.01.org, linux-mm@...ck.org,
linux-fsdevel@...r.kernel.org, linux-raid@...r.kernel.org,
dan.j.williams@...el.com, david@...morbit.com, hch@....de,
song@...nel.org, rgoldwyn@...e.de, qi.fuli@...itsu.com,
y-goto@...itsu.com
Subject: Re: [RFC PATCH v3 0/9] fsdax: introduce fs query to support reflink
Hi, Shiyang,
On 12/18/2020 1:13 AM, Ruan Shiyang wrote:
>>>>
>>>> So I tried the patchset with pmem error injection, the SIGBUS payload
>>>> does not look right -
>>>>
>>>> ** SIGBUS(7): **
>>>> ** si_addr(0x(nil)), si_lsb(0xC), si_code(0x4, BUS_MCEERR_AR) **
>>>>
>>>> I expect the payload looks like
>>>>
>>>> ** si_addr(0x7f3672e00000), si_lsb(0x15), si_code(0x4,
>>>> BUS_MCEERR_AR) **
>>>
>>> Thanks for testing. I test the SIGBUS by writing a program which calls
>>> madvise(... ,MADV_HWPOISON) to inject memory-failure. It just shows
>>> that
>>> the program is killed by SIGBUS. I cannot get any detail from it. So,
>>> could you please show me the right way(test tools) to test it?
>>
>> I'm assuming that Jane is using a program that calls sigaction to
>> install a SIGBUS handler, and dumps the entire siginfo_t structure
>> whenever it receives one...
Yes, thanks Darrick.
>
> OK. Let me try it and figure out what's wrong in it.
I injected poison via "ndctl inject-error", not expecting it made any
difference though.
Any luck?
thanks,
-jane
Powered by blists - more mailing lists