Bug 1418005

Summary: fstrim.service executes fstrim for each btrfs subvolume
Product: [Fedora] Fedora Reporter: Andreas Schneider <asn>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: asn, jonathan, kzak
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-20 12:33:32 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:
Embargoed:

Description Andreas Schneider 2017-01-31 15:09:18 UTC
Description of problem:

The fstrim.service of the util-linux package executes fstrim -a. This runs fstrim on each mountpoint, with btrfs it runs it on each subvolume. For a system which easily has 15 subvolume fstrim is executed 15 times on the same device.

Please apply the following patch:

https://git.kernel.org/cgit/utils/util-linux/util-linux.git/commit/?id=afa382f2e087b71c9e626144f2f313abc42ad594

Comment 3 Fedora Update System 2017-06-22 10:07:49 UTC
util-linux-2.30-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0d905dbef8

Comment 4 Fedora Update System 2017-06-23 06:26:40 UTC
util-linux-2.30-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-0d905dbef8

Comment 5 Fedora Update System 2017-07-07 22:57:07 UTC
util-linux-2.30-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.