From: Theodore Tso <tytso@mit.edu>
To: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Cc: ext4 <linux-ext4@vger.kernel.org>
Subject: Re: i_size error with the latest patchqueue
Date: Thu, 31 Jul 2008 14:47:43 -0400 [thread overview]
Message-ID: <20080731184743.GA20819@mit.edu> (raw)
In-Reply-To: <20080731182552.GJ11632@mit.edu>
So I think what I need to do is to have scan_extent_node update two
variables; pb->last_block, and pb->last_block_used, where
pb->last_block_used doesn't get updated if the extent is not
initialized.
However, what we'll have to do is that if the two are different,
i_size must be at least pb->last_block_used*blocksize, but less than or
equal to pb->last_block*blocksize + (blocksize-1).
- Ted
prev parent reply other threads:[~2008-07-31 18:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-31 16:10 i_size error with the latest patchqueue Aneesh Kumar K.V
2008-07-31 16:41 ` Eric Sandeen
2008-07-31 17:06 ` Aneesh Kumar K.V
2008-07-31 16:47 ` Theodore Tso
2008-07-31 16:51 ` Eric Sandeen
2008-07-31 16:59 ` Aneesh Kumar K.V
2008-07-31 17:08 ` Aneesh Kumar K.V
2008-07-31 18:25 ` Theodore Tso
2008-07-31 18:47 ` Theodore Tso [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=20080731184743.GA20819@mit.edu \
--to=tytso@mit.edu \
--cc=aneesh.kumar@linux.vnet.ibm.com \
--cc=linux-ext4@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 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.