From: Kazuya Mio <k-mio@sx.jp.nec.com>
To: Greg Freemyer <greg.freemyer@gmail.com>
Cc: Andreas Dilger <aedilger@gmail.com>,
Eric Sandeen <sandeen@redhat.com>, "Ted Ts'o" <tytso@mit.edu>,
ext4 <linux-ext4@vger.kernel.org>
Subject: Re: [PATCH 01/11 RESEND] libe2p: Add new function get_fragment_score()
Date: Fri, 24 Jun 2011 17:28:36 +0900 [thread overview]
Message-ID: <4E044AB4.9010804@sx.jp.nec.com> (raw)
In-Reply-To: <BANLkTinvConLV08CkaTSBOhM=2HFwF0wnw@mail.gmail.com>
Hi Greg,
I'm sorry for the late reply.
2011/06/23 20:16, Greg Freemyer wrote:
> For a sparse file, can you explain why you treat the head and tail
> extents of a block group differently?
Could you tell me what "block group" you said means?
If "block group" means the ext4 block group, I will treat the head and tail
extents of a block group the same way.
And if "block group" means the chunk of the extents whose offset is continued,
I will treat only the tail extents as a special case.
# filefrag -v /mnt/mp1/file
Filesystem type is: ef53
File size of /mnt/mp1/file is 285212672 (69632 blocks, blocksize 4096)
ext logical physical expected length flags
0 0 34816 30720
1 30720 65536 2048 unwritten
2 65536 67584 4096 unwritten,eof
/mnt/mp1/file: 1 extent found
The case is not fragmented. The length of #1 extent is a little bit short,
but there is no point in doing defragmentation because of the hole existence.
Regards,
Kazuya Mio
next prev parent reply other threads:[~2011-06-24 8:29 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-15 6:33 [PATCH 01/11 RESEND] libe2p: Add new function get_fragment_score() Kazuya Mio
2011-06-16 3:06 ` Andreas Dilger
2011-06-17 3:01 ` Kazuya Mio
2011-06-17 3:18 ` Ted Ts'o
2011-06-17 14:20 ` Eric Sandeen
2011-06-18 7:19 ` Andreas Dilger
2011-06-18 17:00 ` Greg Freemyer
2011-06-18 17:15 ` Andreas Dilger
2011-06-21 11:28 ` Kazuya Mio
2011-06-23 11:16 ` Greg Freemyer
2011-06-23 11:27 ` Greg Freemyer
2011-06-24 8:28 ` Kazuya Mio [this message]
2011-06-26 2:16 ` Greg Freemyer
2011-06-28 10:21 ` Kazuya Mio
2011-06-28 13:53 ` Greg Freemyer
2011-07-01 8:34 ` Kazuya Mio
2011-07-07 10:40 ` Kazuya Mio
2011-06-21 11:26 ` Kazuya Mio
2011-06-21 13:56 ` Ted Ts'o
2011-06-23 8:00 ` Kazuya Mio
2011-06-19 19:55 ` Greg Freemyer
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=4E044AB4.9010804@sx.jp.nec.com \
--to=k-mio@sx.jp.nec.com \
--cc=aedilger@gmail.com \
--cc=greg.freemyer@gmail.com \
--cc=linux-ext4@vger.kernel.org \
--cc=sandeen@redhat.com \
--cc=tytso@mit.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.