"tune2fs -I 256" extremly slow

Bug #298343 reported by Andreas Schultz
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
e2fsprogs (Gentoo Linux)
Fix Released
Medium
e2fsprogs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: e2fsprogs

gave up on a inode resize after some hours

from http://marc.info/?l=linux-ext4&m=122672822822037&w=2

    tune2fs: Fix inefficient O(n**2) algorithms when expanding the inode size

    When running "tune2fs -I 256" on moderate to large filesystems, the
    time required to run tune2fs can take many hours (20+ before some
    users gave up in disgust). This was due to some O(n**2) and O(n*m)
    algorithms in move_block() and inode_scan_and_fix(), respectively.

Changed in e2fsprogs:
status: Unknown → Confirmed
Changed in e2fsprogs:
status: Confirmed → Fix Released
Revision history for this message
Andreas Schultz (aschultz) wrote :

gentoo believes they have fixed this bug, but they have not.

The patch from http://marc.info/?l=linux-ext4&m=122795607322413&w=2 (or something along that lines) is required on top of upstream git to get decent performance.

Revision history for this message
Craig (candrews-integralblue) wrote :

Perhaps you should tell Gentoo that? I doubt they monitor this bug ;-)

Revision history for this message
Theodore Ts'o (tytso) wrote :

This will be fixed in e2fsprogs 1.41.4. The changes have been checked in, but a number of other high priority bugs needs to be fixed before I release...

Revision history for this message
Julien Plissonneau Duquene (julien-plissonneau-duquene) wrote :

Fix released in 1.41.4-1ubuntu1.

Changed in e2fsprogs (Ubuntu):
status: New → Fix Released
Changed in e2fsprogs (Gentoo Linux):
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.