From: Girish Shilamkar <Girish.Shilamkar@Sun.COM>
To: Ext4 Mailing List <linux-ext4@vger.kernel.org>
Cc: adilger@Sun.COM, Theodore Tso <tytso@mit.edu>
Subject: [RFC] EXT_MAX_BLOCK for >= 16TB fs
Date: Mon, 07 Jul 2008 22:25:32 +0530 [thread overview]
Message-ID: <1215449732.1167.11.camel@alpha.linsyssoft.com> (raw)
Hi,
The magic constant EXT_MAX_BLOCK = 0xffffffff in extents code is used
in some places to return "invalid block number", and to set the extent
length = "whole file" in other places.
So with >= 16 TB fs we would prefer to use it differently. We can have
EXT_UNSET_BLOCK = 1 to indicate "invalid block number" as it will never
be valid block for allocation. And for "whole file" usecase we can
continue using current EXT_MAX_BLOCK
Regards,
Girish
next reply other threads:[~2008-07-07 17:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-07 16:55 Girish Shilamkar [this message]
2008-07-08 12:51 ` [PATCH] EXT_MAX_BLOCK for >= 16TB fs Girish Shilamkar
2008-07-08 13:22 ` Girish Shilamkar
2008-07-08 18:12 ` Girish Shilamkar
2008-07-08 23:56 ` Mingming Cao
2008-07-08 23:58 ` Mingming Cao
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=1215449732.1167.11.camel@alpha.linsyssoft.com \
--to=girish.shilamkar@sun.com \
--cc=adilger@Sun.COM \
--cc=linux-ext4@vger.kernel.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox