public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Extents in spare files on ext4 not being merged
@ 2010-02-14 13:50 Jari Sundell
  2010-02-14 18:03 ` tytso
  0 siblings, 1 reply; 2+ messages in thread
From: Jari Sundell @ 2010-02-14 13:50 UTC (permalink / raw)
  To: Linux Kernel Mailing List

http://libtorrent.rakshasa.no/ticket/460#comment:49

Some users of rtorrent reported very high number of extents for files
despite the use of posix_fallocate/fallocate on ext4. (3000+ for 250MB
file, ) A test program showed that the file was contiguous on disk
despite the high number of extents reported by filefrag. (Not sure
what kernel versions they used)

---
Opening file '/mnt/d1/part1.wmv'.
Block size: 4096
File size:  196571350
Block/page count: 47992
   1: log        0   bb78 phys     8800   bb77

Size of the file is 187.5 MB and filefrag reports 1505 extents.
---

So for some reason the extents aren't getting merged when mmaped
regions get sync'ed in a random order to disk.

Jari Sundell

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-14 18:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-14 13:50 Extents in spare files on ext4 not being merged Jari Sundell
2010-02-14 18:03 ` tytso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox