[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191021010723.GB6799@mit.edu>
Date: Sun, 20 Oct 2019 21:07:23 -0400
From: "Theodore Y. Ts'o" <tytso@....edu>
To: Jan Kara <jack@...e.cz>
Cc: linux-ext4@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH 04/22] ext4: Fix credit estimate for final inode freeing
On Fri, Oct 04, 2019 at 12:05:50AM +0200, Jan Kara wrote:
> Estimate for the number of credits needed for final freeing of inode in
> ext4_evict_inode() was to small. We may modify 4 blocks (inode & sb for
> orphan deletion, bitmap & group descriptor for inode freeing) and not
> just 3.
The modification for the inode should already be included in the
calculation for ext4_blocks_for_truncate(), no? So we only need 3
extra blocks (sb, inode bitmap, and bg descriptor for the inode).
- Ted
Powered by blists - more mailing lists