Bug 21562
Summary: | btrfs is dead slow due to fragmentation | ||
---|---|---|---|
Product: | File System | Reporter: | Felipe Contreras (felipe.contreras) |
Component: | btrfs | Assignee: | fs_btrfs (fs_btrfs) |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | ansla80, brian, josef |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.36 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Felipe Contreras
2010-10-31 19:56:26 UTC
Actually 'btrfs filesystem defragment' doesn't defragment the filesystem... Talk about confusing. Anyway, btrfs, like any other filesystem, should not become that slow due to fragmentation. One solution would be when going through all the fragments of a file, have a counter, and if it exceeds certain limit mark it somehow, so that it gets defragmented at least to a certain extent. Actually 'btrfs filesystem defragment' doesn't defragment the filesystem... Talk about confusing. Anyway, btrfs, like any other filesystem, should not become that slow due to fragmentation. One solution would be when going through all the fragments of a file, have a counter, and if it exceeds certain limit mark it somehow, so that it gets defragmented at least to a certain extent. Closing, if this is still affecting you on a newer kernel please reopen. |