[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170623035025.wqbu3ciyuo2242ug@thunk.org>
Date: Thu, 22 Jun 2017 23:50:25 -0400
From: Theodore Ts'o <tytso@....edu>
To: Jan Kara <jack@...e.cz>
Cc: linux-ext4@...r.kernel.org
Subject: Re: [PATCH] ext4: Avoid unnecessary stalls in ext4_evict_inode()
On Mon, Jun 12, 2017 at 05:20:13PM +0200, Jan Kara wrote:
> These days inode reclaim calls evict_inode() only when it has no pages
> in the mapping. In that case it is not necessary to wait for transaction
> commit in ext4_evict_inode() as there can be no pages waiting to be
> committed. So avoid unnecessary transaction waiting in that case.
>
> We still have to keep the check for the case where ext4_evict_inode()
> gets called from other paths (e.g. umount) where inode still can have
> some page cache pages.
>
> Reported-by: Johannes Weiner <hannes@...xchg.org>
> Signed-off-by: Jan Kara <jack@...e.cz>
Thanks, applied.
- Ted
Powered by blists - more mailing lists