[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200326145532.GA296708@mit.edu>
Date: Thu, 26 Mar 2020 10:55:32 -0400
From: "Theodore Y. Ts'o" <tytso@....edu>
To: Jan Kara <jack@...e.cz>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH] ext4: avoid ENOSPC when avoiding to reuse recently
deleted inodes
On Wed, Mar 18, 2020 at 01:13:17PM +0100, Jan Kara wrote:
> When ext4 is running on a filesystem without a journal, it tries not to
> reuse recently deleted inodes to provide better chances for filesystem
> recovery in case of crash. However this logic forbids reuse of freed
> inodes for up to 5 minutes and especially for filesystems with smaller
> number of inodes can lead to ENOSPC errors returned when allocating new
> inodes.
>
> Fix the problem by allowing to reuse recently deleted inode if there's
> no other inode free in the scanned range.
>
> Signed-off-by: Jan Kara <jack@...e.cz>
Thanks, applied with a minor whitespace fixup.
- Ted
Powered by blists - more mailing lists