[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170824155716.evcftr54z6a3vldg@thunk.org>
Date: Thu, 24 Aug 2017 11:57:17 -0400
From: Theodore Ts'o <tytso@....edu>
To: Wang Shilong <wangshilong1991@...il.com>
Cc: linux-ext4@...r.kernel.org, Jan Kara <jack@...e.cz>
Subject: Re: [PATCH 1/3] ext4: Do not unnecessarily allocate buffer in
recently_deleted()
On Sun, Aug 20, 2017 at 07:52:09PM +0800, Wang Shilong wrote:
> From: Jan Kara <jack@...e.cz>
>
> From: Jan Kara <jack@...e.cz>
>
> In recently_deleted() function we want to check whether inode is still
> cached in buffer cache. Use sb_find_get_block() for that instead of
> sb_getblk() to avoid unnecessary allocation of bdev page and buffer
> heads.
>
> Signed-off-by: Jan Kara <jack@...e.cz>
Thanks, applied.
- Ted
Powered by blists - more mailing lists