mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jari Sundell <sundell.software@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Extents in spare files on ext4 not being merged
Date: Sun, 14 Feb 2010 22:50:45 +0900	[thread overview]
Message-ID: <b3f268591002140550x746b96aeo3c7a017ac4ecf993@mail.gmail.com> (raw)

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

             reply	other threads:[~2010-02-14 13:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-14 13:50 Jari Sundell [this message]
2010-02-14 18:03 ` tytso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b3f268591002140550x746b96aeo3c7a017ac4ecf993@mail.gmail.com \
    --to=sundell.software@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®