]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: react to fsdax failure notifications on the rt device
authorDarrick J. Wong <djwong@kernel.org>
Tue, 17 Dec 2024 21:22:44 +0000 (13:22 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:09 +0000 (13:06 -0800)
commit799e7e6566df79b3546a2dd7cf6bcf287f53d41c
tree7c4d3a7817203d892231fcedca020b411b9a7f63
parentf4ed93037966aea07ae6b10ab208976783d24e2e
xfs: react to fsdax failure notifications on the rt device

Now that we have reverse mapping for the realtime device, use the
information to kill processes that have mappings to bad pmem.  This
requires refactoring the existing routines to handle rtgroups or AGs;
and splitting out the translation function to improve cohesion.
Also make a proper header file for the dax holder ops.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_buf.c
fs/xfs/xfs_notify_failure.c
fs/xfs/xfs_notify_failure.h [new file with mode: 0644]
fs/xfs/xfs_super.h