public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
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: [PATCH] EXT_MAX_BLOCK for >= 16TB fs
Date: Tue, 08 Jul 2008 18:21:11 +0530	[thread overview]
Message-ID: <1215521471.3249.15.camel@alpha.linsyssoft.com> (raw)
In-Reply-To: <1215449732.1167.11.camel@alpha.linsyssoft.com>

Hi,	
	Here is the patch for same.

Thanks,
Girish

On Mon, 2008-07-07 at 22:25 +0530, Girish Shilamkar wrote:
> 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
> 
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


  reply	other threads:[~2008-07-08 12:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-07 16:55 [RFC] EXT_MAX_BLOCK for >= 16TB fs Girish Shilamkar
2008-07-08 12:51 ` Girish Shilamkar [this message]
2008-07-08 13:22   ` [PATCH] " 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=1215521471.3249.15.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