[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c3b60fb9-8a63-b1f6-059e-aeeabf6ba913@linux.alibaba.com>
Date: Mon, 10 Jul 2023 18:41:17 +0800
From: Gao Xiang <hsiangkao@...ux.alibaba.com>
To: Chunhai Guo <guochunhai@...o.com>, xiang@...nel.org,
chao@...nel.org
Cc: huyue2@...lpad.com, jefflexu@...ux.alibaba.com,
linux-erofs@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] erofs: avoid unnecessary loops in
z_erofs_pcluster_readmore() when read page beyond EOF
On 2023/7/10 12:25, Chunhai Guo wrote:
> z_erofs_pcluster_readmore() may take a long time to loop when the page
> offset is large enough, which is unnecessary should be prevented.
> For example, when the following case is encountered, it will loop 4691368
> times, taking about 27 seconds.
> - offset = 19217289215
> - inode_size = 1442672
>
> Signed-off-by: Chunhai Guo <guochunhai@...o.com>
I will update the subject manually to:
"erofs: avoid useless loops in z_erofs_pcluster_readmore() when reading beyond EOF"
to avoid overly long subject as well...
Thanks,
Gao Xiang
Powered by blists - more mailing lists