View Issue Details

IDProjectCategoryView StatusLast Update
0016896CentOS-8mdadmpublic2020-01-07 05:42
Reportersaikrishnab 
PriorityhighSeveritymajorReproducibilityrandom
Status newResolutionopen 
Product Version8.0.1905 
Target VersionFixed in Version 
Summary0016896: Resync gets stuck
DescriptionMD R5 Rebuilding gets stuck

md0 : active raid5 sdg[7] sdi[6] sdf[8] sde[9] sdd[10] sdc[11]
      976138240 blocks super 1.2 level 5, 512k chunk, algorithm 2 [6/5] [UUUU_U]
      [>....................] recovery = 2.3% (4634368/195227648) finish=792065.8min speed=4K/sec

md0_resync D 0 29219 2 0x80000080
Dec 23 11:21:35 localhost kernel: Call Trace:
Dec 23 11:21:35 localhost kernel: ? __schedule+0x254/0x840
Dec 23 11:21:35 localhost kernel: schedule+0x28/0x70
Dec 23 11:21:35 localhost kernel: raid5_get_active_stripe+0x463/0x5e0 [raid456]
Dec 23 11:21:35 localhost kernel: ? finish_wait+0x80/0x80
Dec 23 11:21:35 localhost kernel: raid5_sync_request+0x373/0x3a0 [raid456]
Dec 23 11:21:35 localhost kernel: ? cpumask_next+0x17/0x20
Dec 23 11:21:35 localhost kernel: ? is_mddev_idle+0xcc/0x12a
Dec 23 11:21:35 localhost kernel: md_do_sync.cold.82+0x3f7/0x916
Dec 23 11:21:35 localhost kernel: ? __switch_to_asm+0x34/0x70
Dec 23 11:21:35 localhost kernel: ? finish_wait+0x80/0x80
Dec 23 11:21:35 localhost kernel: ? md_rdev_init+0xb0/0xb0
Dec 23 11:21:35 localhost kernel: md_thread+0x94/0x150
Dec 23 11:21:35 localhost kernel: kthread+0x112/0x130
Dec 23 11:21:35 localhost kernel: ? kthread_bind+0x30/0x30
Dec 23 11:21:35 localhost kernel: ret_from_fork+0x35/0x40
.................
‚Äč[12/23/19 11:22 AM] Vijayarankan M V
     md0_raid5 D 0 1350 2 0x80000000
Dec 23 11:21:35 localhost kernel: Call Trace:
Dec 23 11:21:35 localhost kernel: ? __schedule+0x254/0x840
Dec 23 11:21:35 localhost kernel: schedule+0x28/0x70
Dec 23 11:21:35 localhost kernel: md_super_wait+0x6e/0xa0
Dec 23 11:21:35 localhost kernel: ? finish_wait+0x80/0x80
Dec 23 11:21:35 localhost kernel: md_update_sb.part.62+0x44c/0x8f0
Dec 23 11:21:35 localhost kernel: md_check_recovery.part.66+0x208/0x530
Dec 23 11:21:35 localhost kernel: raid5d+0x3d2/0x5b0 [raid456]
Dec 23 11:21:35 localhost kernel: ? __schedule+0x25c/0x840
Dec 23 11:21:35 localhost kernel: ? md_rdev_init+0xb0/0xb0
Dec 23 11:21:35 localhost kernel: md_thread+0x94/0x150
Dec 23 11:21:35 localhost kernel: ? finish_wait+0x80/0x80
Dec 23 11:21:35 localhost kernel: kthread+0x112/0x130
Dec 23 11:21:35 localhost kernel: ? kthread_bind+0x30/0x30
Dec 23 11:21:35 localhost kernel: ret_from_fork+0x35/0x40

Rebuilding gets stuck with and without enabling 'use_blk_mq'
scsi_mod/parameters/use_blk_mq
Steps To Reproduce1. Create R5 MD
2. Perform periodic "optimal -> degraded -> rebuilding -> optimal" cycles
3. Rebuilding gets stuck
Additional InformationAdded the following patches and built kernel
https://github.com/torvalds/linux/commit/4bc034d35377196c854236133b07730a777c4aba
https://github.com/torvalds/linux/commit/6aaa58c994277647f8b05ffef3b9b225a2d08f36
https://github.com/torvalds/linux/commit/af9b926de9c5986ab009e64917de87c9758bab10

Issue not encountered so far after ~50 iterations

Without the patches, issue occurs within ~50 iterations
Tagsmd

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-01-07 05:39 saikrishnab New Issue
2020-01-07 05:39 saikrishnab Tag Attached: md