Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1536328ybh; Mon, 13 Jul 2020 23:52:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUzLLgP+FIbNKy/+L+gB6LDgby4ZcEZ3pr47+KxdIHX4OZpO0swY0ZrvWLbG46rGOMbZgd X-Received: by 2002:a17:906:eb93:: with SMTP id mh19mr3114279ejb.552.1594709535803; Mon, 13 Jul 2020 23:52:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594709535; cv=none; d=google.com; s=arc-20160816; b=s8EdXNLa/fHkSFyEK71OC+NRKOzmM5tTdD/V2fg/kxt2EtTSin41Wwo6raEq3PtvQD rGUbCOMA6JBXSoNp94km7rLZ+AabVDXxj4+osBh7goguE36OF8oZdW8iLqDtebpReElR NgY73z5wOVw+GpokrjQBlGI29PgblfuCLYIno2OYQAZRjbU3CGPVA4dcx6CLSuVovoBz tYmhWfsbQKxNf56RqQN/liSa7j8WPezaeoZMBdtI0c4nXkZHwoZgQBnU9+X9uvnJDXml E34XmtJVg9u2ai7RaH7Cm7R6EBYsKbcFbTAkGJ78E8gnZuhaI2rZZoJO+RI0YhDTTgEW rmkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=o9wZ+YRCyWjHwV64v1pS3puEY1H4Ah5oYW6SvbKHk68=; b=YlkQb4RYYBiIRP1Ojw5AWVcb4JsEtTxeS+MNRyM8n8c8PxX7LCJ0iqz+ORXZ5WNBPO jGlzSNDeKzHgvlHo673eAHXkyOYNEQCf1lbo+du/0shFXvPbBFqTiQDWsPZ/0A2DkONh rPA6Zheg7tigOr31phr1KERfWMEeMvyugCHTmfKuek/a9GcAUwARX2hPf0uHyQBZcgBI OmyjXmYyZ1LW+4lxDREnZsNA1yPj3xbo/AuZ7SiMd/J5PwNG1E6Jk9ep2a99ISxSoh0R zupprPWqrgxtjMwdI0+95nPXwTUv9jS6m6OiOf/co2TVszbvxMhlRqtS9zVi8Nx5SWtQ iB5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x18si5708847ejd.51.2020.07.13.23.51.53; Mon, 13 Jul 2020 23:52:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726809AbgGNGvO (ORCPT + 99 others); Tue, 14 Jul 2020 02:51:14 -0400 Received: from jabberwock.ucw.cz ([46.255.230.98]:56354 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725853AbgGNGvO (ORCPT ); Tue, 14 Jul 2020 02:51:14 -0400 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id DC2511C0BE2; Tue, 14 Jul 2020 08:51:10 +0200 (CEST) Date: Tue, 14 Jul 2020 08:51:10 +0200 From: Pavel Machek To: Greg KH Cc: Jan Ziak <0xe2.0x9a.0x9b@gmail.com>, linux-api@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-man@vger.kernel.org, mtk.manpages@gmail.com, shuah@kernel.org, viro@zeniv.linux.org.uk Subject: Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster Message-ID: <20200714065110.GA8047@amd> References: <20200705115021.GA1227929@kroah.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: <20200705115021.GA1227929@kroah.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > At first, I thought that the proposed system call is capable of > > reading *multiple* small files using a single system call - which > > would help increase HDD/SSD queue utilization and increase IOPS (I/O > > operations per second) - but that isn't the case and the proposed > > system call can read just a single file. >=20 > If you want to do this for multple files, use io_ring, that's what it > was designed for. I think Jens was going to be adding support for the > open/read/close pattern to it as well, after some other more pressing > features/fixes were finished. What about... just using io_uring for single file, too? I'm pretty sure it can be wrapped in a library that is simple to use, avoiding need for new syscall. Pavel =09 --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl8NVd4ACgkQMOfwapXb+vL5bQCgufDkd33qQk4uXDkH3RR5GPmL zNYAn03OZe2uS3B1ptb/sq4bdkcbtv1l =CLsu -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--