From: Jeff Garzik <jgarzik@pobox.com>
To: stone_wang@sohu.com
Cc: linux-kernel@vger.kernel.org, akpm@osdl.org
Subject: Re: [patch to 2.6.10-rc2] ext3_find_goal
Date: Sat, 22 Jan 2005 17:21:27 -0500 [thread overview]
Message-ID: <41F2D1E7.30609@pobox.com> (raw)
In-Reply-To: <31531613.1106425001426.JavaMail.postfix@mx20.mail.sohu.com>
stone_wang@sohu.com wrote:
>
> We found strange blocks layout in our mail server, after careful study,
> we got the reason and tried to fix it.
>
> When loading an inode from buffer/disk(ext2/3_read_inode),then allocating the second block(block==1) of the corresponding file: i_next_alloc_block and i_next_alloc_goal are both zero,and in fact are not valid,
> but they(i_next_alloc_block/goal) take effect in the former codes. This causes non-contiguous file.
>
> Below patch add a check,and fixes this.
Good catch!
prev parent reply other threads:[~2005-01-22 22:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-22 20:16 [patch to 2.6.10-rc2] ext3_find_goal stone_wang
2005-01-22 22:21 ` Jeff Garzik [this message]
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=41F2D1E7.30609@pobox.com \
--to=jgarzik@pobox.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stone_wang@sohu.com \
/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