Skip to contentSkip to conversation

OOM/panic observed durintg creating RAID4 with DIF/DIX enabled disk

DISCUSSION Yi Zhang 1 participant 1 message Aug 18, 2016 1 message not in the archive MD RAID

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Yi Zhang

author
#1 lore raw

hello

I observed OOM/panic during create RAID4 with DIF/DIX enabled disk, here I used scsi-debug to created the DIF/DIX disk.

Full log:
http://pastebin.com/uP3rJcHX

Environment:
4.8.0-rc2
32Gb phycial memory

Reproduced at Iteration:19

Reproduce steps:

#!/bin/bash
modprobe scsi_debug dev_size_mb=16384 num_parts=4 dif=1 dix=1 sleep 5
num=0
while [ $num -lt 100 ]; do

	echo "********************Iteration:$num****************"
	mdadm --create --run /dev/md0 --level 4 --metadata 1.2 --raid-devices 4  /dev/sdc[1-4]  --bitmap=internal --bitmap-chunk=64M --chunk 512
	mdadm --wait /dev/md0
	cat /proc/mdstat
	mdadm -Ss
	mdadm --zero-superblock /dev/sdc[1-4]
	sleep 1
       ((num++))

done

Best Regards,
Yi Zhang