linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kara <jack@suse.cz>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Jan Kara <jack@suse.cz>, Theodore Ts'o <tytso@mit.edu>,
	linux-ext4@vger.kernel.org,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: CONFIG_EXT4_USE_FOR_EXT23 no space left on device
Date: Thu, 28 Nov 2013 12:33:01 +0100	[thread overview]
Message-ID: <20131128113301.GC31516@quack.suse.cz> (raw)
In-Reply-To: <CAMuHMdWNvnKhJSBmR68EEMZHUuhzkAgWSLz=6eruhcfYKk2Y2A@mail.gmail.com>

On Thu 28-11-13 11:15:57, Geert Uytterhoeven wrote:
> On Wed, Nov 27, 2013 at 11:23 PM, Jan Kara <jack@suse.cz> wrote:
> > On Wed 27-11-13 16:50:14, Geert Uytterhoeven wrote:
> >> To reduce kernel size, I disabled both CONFIG_EXT2_FS and
> >> CONFIG_EXT3_FS, and enabled CONFIG_EXT4_USE_FOR_EXT23.
> >>
> >> Unfortunately the system behaves badly afterwards. It seems the file system
> >> is considered full: new files can be created, but no data can be written.
> >> Note that the file system is almost full, but root can still write more data
> >> using the real ext3 filesystem driver.
> >>
> >> This is a v3.13-rc1-ish kernel.
> >>
> >> Diff of dmesg and output of a few operations below:
> >   Thanks for report. Maybe the easiest would be if you gathered fs metadata
> > using "e2image -r <fs-device>", compressed it and made it available for
> > download. We can then debug ourselves where the accounting goes wrong.
> 
> Dump from the live image, so it needs journal recovery:
> 
> http://users.telenet.be/geertu/Download/hda1.e2i.bz2
  Thanks. So I had a look and the difference is in ext4 block reservation
logic. ext4 stores away some blocks as reserved so that it can use them
as a safety pool in case it really needs to finish some metadata operations
and there isn't enough free space (see commit
27dd43854227bb0e6ab70129bd21b60d396db2e7 for detailed description).

However this block reservation isn't really needed when fs doesn't support
extents. So I'll send a patch in a moment which fixes the problem for me.

								Honza
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR

      reply	other threads:[~2013-11-28 11:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-27 15:50 CONFIG_EXT4_USE_FOR_EXT23 no space left on device Geert Uytterhoeven
2013-11-27 22:23 ` Jan Kara
2013-11-28 10:15   ` Geert Uytterhoeven
2013-11-28 11:33     ` Jan Kara [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=20131128113301.GC31516@quack.suse.cz \
    --to=jack@suse.cz \
    --cc=geert@linux-m68k.org \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-kernel@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;
as well as URLs for NNTP newsgroup(s).