[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131209021359.GA27144@thunk.org>
Date: Sun, 8 Dec 2013 21:13:59 -0500
From: Theodore Ts'o <tytso@....edu>
To: Jan Kara <jack@...e.cz>
Cc: linux-ext4@...r.kernel.org,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Lukas Czerner <lczerner@...hat.com>
Subject: Re: [PATCH] ext4: Do not reserve clusters when fs doesn't support
extents
On Thu, Nov 28, 2013 at 12:42:45PM +0100, Jan Kara wrote:
> When filesystem doesn't support extents (like in ext2/3 compatibility
> modes), there is no need to reserve any clusters. Space estimates for
> writing are exact, hole punching doesn't need new metadata, and there
> are no unwritten extents to convert.
>
> This fixes a problem when filesystem still having some free space when
> accessed with a native ext2/3 driver suddently reports ENOSPC when
> accessed with ext4 driver.
>
> Reported-by: Geert Uytterhoeven <geert@...ux-m68k.org>
> CC: Lukas Czerner <lczerner@...hat.com>
> Signed-off-by: Jan Kara <jack@...e.cz>
Thanks, applied. Given that distro's are using
CONFIG_EXT4_USE_FOR_EXT23, I'm going to queue this for the stable kernel.
- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists