tytso / e2fsprogs

Ext2/3/4 file system utilities
http://ext4.wiki.kernel.org
383 stars 224 forks source link

e4defrag: Fragmentation score 0 even with files listed with more fragmentation than ideal count #155

Open Yetoo1 opened 1 year ago

Yetoo1 commented 1 year ago

I am assuming the x/x number is fragmentation count/ideal fragmentation count. I run sudo e4defrag -vc and there are a lot of files with 149/1, 35/1, and 2/1 but the score at the end is 0. I get that there was an issue in the past where smaller files having fragmentation was inflating the score and was changed (someone said they were going to do something about it, not sure if they actually made a change) (https://lore.kernel.org/linux-ext4/E1PWFc1-0002cm-QV@tytso-glaptop/), but it makes no sense why the score is not greater than 0. There is a 0-30 range for 'no problem' and I think it should be used.