mbox series

[GIT,PULL,3/7] xfs: fix incorrect return values in online fsck

Message ID 166865411276.2381691.13135023380195566717.stg-ugh@magnolia (mailing list archive)
State New, archived
Headers show
Series [GIT,PULL,1/7] xfs: fix handling of AG[IF] header buffers during scrub | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/scrub-fix-return-value-6.2_2022-11-16

Message

Darrick J. Wong Nov. 17, 2022, 3:13 a.m. UTC
Hi Darrick,

Please pull this branch with changes for xfs for 6.2-rc1.

As usual, I did a test-merge with the main upstream branch as of a few
minutes ago, and didn't see any conflicts.  Please let me know if you
encounter any problems.

--D

The following changes since commit 306195f355bbdcc3eff6cffac05bcd93a5e419ed:

xfs: pivot online scrub away from kmem.[ch] (2022-11-16 15:25:02 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git tags/scrub-fix-return-value-6.2_2022-11-16

for you to fetch changes up to 93b0c58ed04b6cbe45354f23bb5628fff31f9084:

xfs: don't return -EFSCORRUPTED from repair when resources cannot be grabbed (2022-11-16 15:25:03 -0800)

----------------------------------------------------------------
xfs: fix incorrect return values in online fsck

Here we fix a couple of problems with the errno values that we return to
userspace.

v23.2: fix vague wording of comment
v23.3: fix the commit message to discuss what's really going on in this
patch

Signed-off-by: Darrick J. Wong <djwong@kernel.org>

----------------------------------------------------------------
Darrick J. Wong (4):
xfs: return EINTR when a fatal signal terminates scrub
xfs: fix return code when fatal signal encountered during dquot scrub
xfs: don't retry repairs harder when EAGAIN is returned
xfs: don't return -EFSCORRUPTED from repair when resources cannot be grabbed

fs/xfs/scrub/common.h |  2 +-
fs/xfs/scrub/quota.c  |  2 +-
fs/xfs/scrub/repair.c | 10 +++++++---
3 files changed, 9 insertions(+), 5 deletions(-)