Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure XFS max-retry=1 max-timeout=5 for EIO/ENOSPC errors #753

Conversation

balamurugana
Copy link
Member

@balamurugana balamurugana commented Apr 12, 2023

@harshavardhana
Copy link
Member

harshavardhana commented Apr 12, 2023

Oh btw @balamurugana rhel7 doesn't have these files.

It's only on rhel8 and above..

@balamurugana
Copy link
Member Author

Oh btw @balamurugana rhel7 doesn't have these files.

It's only on rhel8 and above..

@harshavardhana rhel 7 has the support

[root@master ~]# cat /etc/redhat-release 
CentOS Linux release 7.9.2009 (Core)

[root@master ~]# uname -a
Linux master 3.10.0-1160.88.1.el7.x86_64 #1 SMP Tue Mar 7 15:41:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

[root@master ~]# ls -1 /sys/fs/xfs/vdb/error/metadata/{EIO,ENOSPC}/retry_timeout_seconds
/sys/fs/xfs/vdb/error/metadata/EIO/retry_timeout_seconds
/sys/fs/xfs/vdb/error/metadata/ENOSPC/retry_timeout_seconds

[root@master ~]# cat /sys/fs/xfs/vdb/error/metadata/EIO/retry_timeout_seconds /sys/fs/xfs/vdb/error/metadata/ENOSPC/retry_timeout_seconds
-1
-1

[root@master ~]# echo 60 > /sys/fs/xfs/vdb/error/metadata/EIO/retry_timeout_seconds; echo 60 > /sys/fs/xfs/vdb/error/metadata/ENOSPC/retry_timeout_seconds 
[root@master ~]# cat /sys/fs/xfs/vdb/error/metadata/EIO/retry_timeout_seconds /sys/fs/xfs/vdb/error/metadata/ENOSPC/retry_timeout_seconds
60
60
[root@master ~]# 

@balamurugana balamurugana changed the title Configure XFS retry timeout to 60 seconds for EIO/ENOSPC errors Configure XFS max-retry=1 max-timeout=5 for EIO/ENOSPC errors Apr 13, 2023
@balamurugana balamurugana force-pushed the Configure-XFS-retry-timeout-to-60-seconds-for-EIO-ENOSPC-errors branch from bfb2379 to 3ffafe5 Compare April 13, 2023 01:36
@balamurugana balamurugana marked this pull request as draft April 13, 2023 02:07
@balamurugana
Copy link
Member Author

balamurugana commented Apr 13, 2023

Functional tests on rhel9 fails

Updated PR works fine in RHEL 7/8/9

@balamurugana balamurugana force-pushed the Configure-XFS-retry-timeout-to-60-seconds-for-EIO-ENOSPC-errors branch from 3ffafe5 to 21e4a28 Compare April 13, 2023 02:20
@balamurugana balamurugana marked this pull request as ready for review April 13, 2023 03:34
Praveenrajmani
Praveenrajmani previously approved these changes Apr 13, 2023
@balamurugana balamurugana force-pushed the Configure-XFS-retry-timeout-to-60-seconds-for-EIO-ENOSPC-errors branch from 21e4a28 to aa1872c Compare April 13, 2023 04:27
@harshavardhana harshavardhana merged commit 8e8a598 into minio:master Apr 13, 2023
@balamurugana balamurugana deleted the Configure-XFS-retry-timeout-to-60-seconds-for-EIO-ENOSPC-errors branch April 13, 2023 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants