DMP blk-mq I/O Timeout (V-5-0-1957) Causing Subdisk Failures and Diskgroup I/O Errors

book

Article ID: 1000766249

calendar_today

Updated On:

Description

The following kernel messages are observed:

 
 
 
May 29 05:48:36 server101 kernel: VxVM vxdmp V-5-0-1957 [Failed] i/o failed on disk 201/0x1dd0 due to timeout threshold (300 sec) May 29 05:48:36 server101 kernel: VxVM vxdmp V-5-0-0 [Error] i/o error occurred (errno=0x206) on dmpnode 201/0x1dd0 May 29 05:48:36 server101 kernel: VxVM vxio V-5-0-2039 voldiskiodone: VOLD_FLAG_FAIL_IO flag set on disk emc1_02f3 May 29 05:48:36 server101 kernel: VxVM vxio V-5-0-1267 Plex plex-01 block 783510384: Uncorrectable write error on Subdisk emc0_02f3-02 block 97938800 May 29 05:48:36 server101 kernel: VxVM vxio V-5-0-2039 voldiskiodone: VOLD_FLAG_FAIL_IO flag set on disk emc1_02ff May 29 05:48:36 server101 kernel: VxVM vxio V-5-0-1267 Plex plex_002-01 block 332668736: Uncorrectable write error on Subdisk emc0_02f3-03 block 41583552 May 29 05:48:36 server101 kernel: VxVM vxdmp V-5-0-1957 [Failed] i/o failed on disk 201/0x2590 due to timeout threshold (300 sec) May 29 05:48:51 server101 kernel: VxVM vxdmp V-5-0-1957 [Failed] i/o failed on disk 201/0x2590 due to timeout threshold (300 sec)

The DMP events log shows repeated I/O errors followed by DMP_PATH_OKAY probe results and retries, confirming that all paths are healthy but I/O completions are not returning within the timeout window:

 
 
 
Fri May 29 05:43:13.500: I/O error occurred on Path sdajj(131/784) belonging to Dmpnode emc1_02f3(201/7632) Fri May 29 05:43:13.506: I/O analysis done as DMP_PATH_OKAY on Path sdajj(131/784) belonging to Dmpnode emc1_02f3(201/7632) Fri May 29 05:43:13.598: I/O retry(1) on Path sdx(65/112) belonging to Dmpnode emc1_02f3(201/7632) ... Fri May 29 05:45:16.383: I/O retry(8) on Path sdx(65/112) belonging to Dmpnode emc1_02f3(201/7632) Fri May 29 05:45:16.387: I/O retry(8) on Path sdajj(131/784) belonging to Dmpnode emc1_02f3(201/7632)

Retry counts as high as 30–39 have been observed .

Environment :

  • InfoScale 8.0.2 (VRTSvxvm 8.0.2.2700 and earlier minor patches)

  • Component: VXVM — DMP

Affected Platforms:

  • RHEL 8.x

  • RHEL 9.x

Cause

This is a bug in DMP's blk-mq I/O submission and retry handling. Under heavy concurrent I/O, the Linux blk-mq tag pool briefly fills up and returns a transient -EAGAIN/-EBUSY response, which is normal and requires only a retry. DMP handled only the first such response per I/O correctly; subsequent occurrences were misclassified into a slow internal retry loop that ran until the 300-second I/O timeout expired. DMP then failed the I/O and set VOLD_FLAG_FAIL_IO on the disk, causing subdisk failures — even though all sibling paths remained healthy and enabled.

A second aspect of the bug is that DMP sets VOLD_FLAG_FAIL_IO without verifying whether other active paths are still available, which is incorrect behaviour when sibling paths remain in an ENABLED state.

Resolution

Workaround

Disable DMP's blk-mq mode by setting the following tunable. This causes DMP to revert to bio mode, which handles the -EAGAIN/-EBUSY condition correctly and eliminates the retry loop.

To apply immediately (takes effect without reboot):

#sysctl -w vxdmp.dmp_blk_mq_enable=0
 
To make the setting persistent across reboots:
#sysctl -w vxdmp.dmp_blk_mq_enable=0 >> /etc/sysctl.conf
 
Note: Disabling blk-mq mode may result in a reduction in I/O throughput on high-performance systems. Monitor system performance after applying this change.
 
Permanent Fix

A supported hotfix has been made available for this issue. Please contact Technical Support to cross check the problem and to provide this fix. This hotfix has not yet gone through any extensive Q&A testing. Consequently, if you are not adversely affected by this problem and have a satisfactory temporary workaround in place, we recommend that you wait for the public release of this hotfix.

Issue/Introduction

On Linux systems running Veritas InfoScale with DMP's blk-mq mode enabled (vxdmp.dmp_blk_mq_enable = 1), under heavy concurrent I/O load, DMP may fail to allocate a blk-mq request tag from the device's hardware queue. Instead of retrying the I/O correctly, DMP enters a slow internal retry loop that runs until the 300-second I/O timeout expires. This results in subdisk failures, VOLD_FLAG_FAIL_IO being set on disks, and uncorrectable write errors reported on subdisks — even when all paths remain healthy and no SCSI errors are present.