[ Sasha's backport helper bot ] Hi, The upstream commit SHA1 provided is correct: 471de20303dda0b67981e06d59cc6c4a83fd2a3c Status in newer kernel trees: 6.13.y | Present (exact SHA1) 6.12.y | Present (exact SHA1) 6.6.y | Present (different SHA1: c86562e6918a) 6.1.y | Present (different SHA1: b8a7d6e7d0bb) Note: The patch differs from the upstream commit: --- 1: 471de20303dda ! 1: 9a80b1e4b9f8a xfs: up(ic_sema) if flushing data device fails @@ Metadata ## Commit message ## xfs: up(ic_sema) if flushing data device fails + [ Upstream commit 471de20303dda0b67981e06d59cc6c4a83fd2a3c ] + We flush the data device cache before we issue external log IO. If the flush fails, we shut down the log immediately and return. However, the iclog->ic_sema is left in a decremented state so let's add an up(). @@ Commit message Signed-off-by: Leah Rumancik <leah.rumancik@xxxxxxxxx> Reviewed-by: "Darrick J. Wong" <djwong@xxxxxxxxxx> Signed-off-by: Chandan Babu R <chandanbabu@xxxxxxxxxx> + Signed-off-by: Leah Rumancik <leah.rumancik@xxxxxxxxx> ## fs/xfs/xfs_log.c ## @@ fs/xfs/xfs_log.c: xlog_write_iclog( --- Results of testing on various branches: | Branch | Patch Apply | Build Test | |---------------------------|-------------|------------| | stable/linux-6.1.y | Success | Success |