Re: [PATCHv5 2/6] ext4: Optimize ext4_ext_precache for 0 depth
From: "Theodore Y. Ts'o" <tytso@mit.edu>
Date: 2020-03-13 20:05:59
Also in:
linux-fsdevel
From: "Theodore Y. Ts'o" <tytso@mit.edu>
Date: 2020-03-13 20:05:59
Also in:
linux-fsdevel
On Fri, Feb 28, 2020 at 02:56:55PM +0530, Ritesh Harjani wrote:
This patch avoids the memory alloc & free path when depth is 0, since anyway there is no extra caching done in that case. So on checking depth 0, simply return early. Signed-off-by: Ritesh Harjani <redacted> Reviewed-by: Jan Kara <jack@suse.cz>
Applied, thanks. - Ted