lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKYAXd-Hf-jj01vYjbP3G3kdkdHjUKKoPMs2pMRM-TJbt2_xfg@mail.gmail.com>
Date: Mon, 18 Aug 2025 20:28:47 +0900
From: Namjae Jeon <linkinjeon@...nel.org>
To: Chi Zhiling <chizhiling@....com>
Cc: linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org, 
	Sungjong Seo <sj1557.seo@...sung.com>, Yuezhang Mo <yuezhang.mo@...y.com>, 
	Chi Zhiling <chizhiling@...inos.cn>
Subject: Re: [PATCH] exfat: limit log print for IO error

On Fri, Aug 15, 2025 at 6:33 PM Chi Zhiling <chizhiling@....com> wrote:
>
> From: Chi Zhiling <chizhiling@...inos.cn>
>
> For exFAT filesystems with 4MB read_ahead_size, removing the storage device
> when the read operation is in progress, which cause the last read syscall
> spent 150s [1]. The main reason is that exFAT generates excessive log
> messages [2].
>
> After applying this patch, approximately 300,000 lines of log messages
> were suppressed, and the delay of the last read() syscall was reduced
> to about 4 seconds.
>
> [1]:
> write(5, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 131072) = 131072 <0.000120>
> read(4, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 131072) = 131072 <0.000032>
> write(5, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 131072) = 131072 <0.000119>
> read(4, 0x7fccf28ae000, 131072)         = -1 EIO (Input/output error) <150.186215>
>
> [2]:
> [  333.696603] exFAT-fs (vdb): error, failed to access to FAT (entry 0x0000d780, err:-5)
> [  333.697378] exFAT-fs (vdb): error, failed to access to FAT (entry 0x0000d780, err:-5)
> [  333.698156] exFAT-fs (vdb): error, failed to access to FAT (entry 0x0000d780, err:-5)
>
> Signed-off-by: Chi Zhiling <chizhiling@...inos.cn>
Applied it to #dev.
Thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ