public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Sandeen <sandeen@sandeen.net>
To: Jan Engelhardt <jengelh@computergmbh.de>
Cc: xfs@oss.sgi.com
Subject: Re: Volume too big
Date: Sat, 19 Jan 2008 14:12:00 -0600	[thread overview]
Message-ID: <47925990.7070004@sandeen.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0801191808100.4780@fbirervta.pbzchgretzou.qr>

Jan Engelhardt wrote:

>> (Hm, argument list too long is an interesting result tho...)
> 
> I suppose it's right here:
> 
> #if XFS_BIG_BLKNOS     /* Limited by ULONG_MAX of page cache index */ 
>         if (nblocks >> (PAGE_CACHE_SHIFT - sbp->sb_blocklog) > ULONG_MAX)
>                 return E2BIG;
> #else                  /* Limited by UINT_MAX of sectors */ 
> 

Yeah, I really think the E2BIGs in xfs should probably be swapped for
EFBIG; more helpful error message.

-Eric

  reply	other threads:[~2008-01-19 20:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-19 15:53 Volume too big Jan Engelhardt
2008-01-19 16:15 ` Eric Sandeen
2008-01-19 17:29   ` Justin Piszcz
2008-01-19 18:04     ` Jan Engelhardt
2008-01-19 17:53   ` Jan Engelhardt
2008-01-19 20:12     ` Eric Sandeen [this message]
2008-01-19 20:41     ` Eric Sandeen
2008-01-19 21:01       ` Jan Engelhardt
2008-01-19 21:26         ` Eric Sandeen
2008-01-20 22:03       ` Eric Sandeen

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=47925990.7070004@sandeen.net \
    --to=sandeen@sandeen.net \
    --cc=jengelh@computergmbh.de \
    --cc=xfs@oss.sgi.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