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] [thread-next>] [day] [month] [year] [list]
Message-ID: <c535d8f5-e746-30dc-f3e8-aeed04fcb5b8@linux.alibaba.com>
Date:   Mon, 2 Mar 2020 17:17:09 +0800
From:   Xiaoguang Wang <xiaoguang.wang@...ux.alibaba.com>
To:     linux-ext4@...r.kernel.org
Cc:     tytso@....edu, jack@...e.cz,
        joseph qi <joseph.qi@...ux.alibaba.com>
Subject: Re: [PATCH] ext4: start to support iopoll method

hi,

Ted, could you please consider applying this patch? Iouring polling
tests in ext4 needs this patch, Jan Kara has nicely reviewed this patch, thanks.

Regards,
Xiaoguang Wang

> Since commit "b1b4705d54ab ext4: introduce direct I/O read using
> iomap infrastructure", we can easily make ext4 support iopoll
> method, just use iomap_dio_iopoll().
> 
> Signed-off-by: Xiaoguang Wang <xiaoguang.wang@...ux.alibaba.com>
> ---
>   fs/ext4/file.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/fs/ext4/file.c b/fs/ext4/file.c
> index 5f225881176b..0d624250a62b 100644
> --- a/fs/ext4/file.c
> +++ b/fs/ext4/file.c
> @@ -872,6 +872,7 @@ const struct file_operations ext4_file_operations = {
>   	.llseek		= ext4_llseek,
>   	.read_iter	= ext4_file_read_iter,
>   	.write_iter	= ext4_file_write_iter,
> +	.iopoll		= iomap_dio_iopoll,
>   	.unlocked_ioctl = ext4_ioctl,
>   #ifdef CONFIG_COMPAT
>   	.compat_ioctl	= ext4_compat_ioctl,
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ