Linux PARISC architecture development
 help / color / mirror / Atom feed
From: John David Anglin <dave.anglin@bell.net>
To: Rolf Eike Beer <eike-kernel@sf-tec.de>
Cc: linux-parisc@vger.kernel.org
Subject: Re: HPPA64: Cannot write to ext4 filesystems with files > 28672 byte
Date: Sun, 4 Mar 2012 17:14:14 -0500	[thread overview]
Message-ID: <BLU0-SMTP92018283116845C259EC9F97530@phx.gbl> (raw)
In-Reply-To: <51659a45a16b0a5b0ede44e3f3e830dc.squirrel@webmail.sf-mail.de>

On 27-Feb-12, at 9:55 AM, Rolf Eike Beer wrote:

> Recent kernels (>3.x) fail when writing to ext4 filesystems with the
> message "file too large". The critical size is 28672 byte (7*2^12).  
> This
> has been traced down to ext4_max_size() by Tobias Ulmer, which looks  
> like
> this:


Fixed in GCC source trees (> 4.4).  Problem was incorrect shift caused
by truncation to int.

The following instruction was incorrect:

  50:   d7 9f 12 1d     depdi,z,* -1,sar,3,ret0

The length operand was incorrectly calculated.

Dave
--
John David Anglin	dave.anglin@bell.net




  reply	other threads:[~2012-03-04 22:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-27 14:55 HPPA64: Cannot write to ext4 filesystems with files > 28672 byte Rolf Eike Beer
2012-03-04 22:14 ` John David Anglin [this message]
2012-03-05 19:02   ` Rolf Eike Beer

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=BLU0-SMTP92018283116845C259EC9F97530@phx.gbl \
    --to=dave.anglin@bell.net \
    --cc=eike-kernel@sf-tec.de \
    --cc=linux-parisc@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox