]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: don't shut down the filesystem for media failures beyond end of log
authorDarrick J. Wong <djwong@kernel.org>
Tue, 17 Dec 2024 21:43:06 +0000 (13:43 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 23 Dec 2024 21:06:09 +0000 (13:06 -0800)
commitf4ed93037966aea07ae6b10ab208976783d24e2e
tree2b1c88037229f10ced672998a6b9789a93ac3ade
parent9515572be65e9f8d7b852f067c7a163bfe9520d4
xfs: don't shut down the filesystem for media failures beyond end of log

If the filesystem has an external log device on pmem and the pmem
reports a media error beyond the end of the log area, don't shut down
the filesystem because we don't use that space.

Cc: <stable@vger.kernel.org> # v6.0
Fixes: 6f643c57d57c56 ("xfs: implement ->notify_failure() for XFS")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_notify_failure.c