Re: [PATCH RESEND v6 6/9] xfs: Implement ->notify_failure() for XFS

From: Jane Chu
Date: Thu Aug 05 2021 - 20:50:51 EST



On 7/30/2021 3:01 AM, Shiyang Ruan wrote:
+ mapping = VFS_I(ip)->i_mapping;
+ if (IS_ENABLED(CONFIG_MEMORY_FAILURE)) {
+ for (i = 0; i < rec->rm_blockcount; i++) {
+ error = mf_dax_kill_procs(mapping, rec->rm_offset + i,
+ *flags);
+ if (error)
+ break;
+ }
+ }

If a poison is injected to a PMD dax page, after consuming the poison,
how many SIGBUS signals are expected to be sent to the process?

thanks,
-jane