Bug 1317727

Summary: 4.4 regression, swap in md raid 0 takes very long time to mount
Product: [Fedora] Fedora Reporter: Michael Cronenworth <mike>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: kernel-4.5.5-201.fc23.x86_64 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-31 15:56:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michael Cronenworth 2016-03-15 01:44:40 UTC
Description of problem:

Kernel 4.3 and lower mounts swap instantly and does not hinder the boot process.

Kernel 4.4 and higher takes up to 1 minute to mount swap and slows down the entire boot process.

100% reproducable.

# swapoff -a
# swapon -a
[hangs for 1+ minutes]
# 


Version-Release number of selected component (if applicable):
kernel-4.4.4-301.fc23.x86_64


$ systemd-analyze blame
         48.325s dev-disk-by\x2duuid-82886506\x2d6388\x2d4c79\x2d8851\x2da28fe6b
         15.305s systemd-udev-settle.service
          9.614s systemd-fsck@dev-disk-by\x2duuid-d4b20d46\x2d4cba\x2d4bfc\x2da1
          5.615s systemd-tmpfiles-setup.service
...

The swap partition is UUID=82886506-6388-4c79-8851-a28fe6b62756.

Note: This swap partition is on an MDADM RAID-0 array (version 1.2), across two SSDs, 8GB in size.

Comment 1 Michael Cronenworth 2016-04-25 16:07:05 UTC
Still a problem with 4.4.8.

Comment 2 Michael Cronenworth 2016-05-31 15:56:25 UTC
This has been fixed in the 4.5.x kernel series.