Bug 1317727 - 4.4 regression, swap in md raid 0 takes very long time to mount
Summary: 4.4 regression, swap in md raid 0 takes very long time to mount
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-15 01:44 UTC by Michael Cronenworth
Modified: 2016-05-31 15:56 UTC (History)
6 users (show)

Fixed In Version: kernel-4.5.5-201.fc23.x86_64
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-31 15:56:25 UTC
Type: Bug


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.