From owner-freebsd-current@FreeBSD.ORG Sun Mar 31 11:38:55 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D7EBA6B1 for ; Sun, 31 Mar 2013 11:38:55 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4EC7A8E6 for ; Sun, 31 Mar 2013 11:38:55 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.6/8.14.6) with ESMTP id r2VBckcp040290; Sun, 31 Mar 2013 14:38:46 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.2 kib.kiev.ua r2VBckcp040290 Received: (from kostik@localhost) by tom.home (8.14.6/8.14.6/Submit) id r2VBck5M040289; Sun, 31 Mar 2013 14:38:46 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 31 Mar 2013 14:38:46 +0300 From: Konstantin Belousov To: Maksim Yevmenkin Subject: Re: [RFC] vfs.read_min proposal Message-ID: <20130331113846.GK3794@kib.kiev.ua> References: <20130328075209.GL3794@kib.kiev.ua> <20130329205853.GB3794@kib.kiev.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7mGvLjfjOoK1a/VV" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Mar 2013 11:38:55 -0000 --7mGvLjfjOoK1a/VV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 29, 2013 at 04:57:48PM -0700, Maksim Yevmenkin wrote: > On Fri, Mar 29, 2013 at 1:58 PM, Konstantin Belousov > wrote: > > I think this is definitely a feature that should be set by a flag to > > either file descriptor used for aio_read, or aio_read call itself. > > Adding a flag to aio_read() might be cumbersome from the ABI perspectiv= e. >=20 > something along the lines of ioctl(F_READAHEAD)/f_seqcount might be > acceptable, dont you think? This is exactly what I talked about starting from the first response. aio_read proposal is some (not-neccessary) refinement. --7mGvLjfjOoK1a/VV Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJRWCBGAAoJEJDCuSvBvK1BF9sP/jNkaAia6m8uTAvQ3qj6pXPF vclBLALfCimGlgoRTZuncyP4UxatZ++EPfA2RAxqMfD6RuY0ooyIJB2riHirF1uG Gh0F6A0zRHiSphCb0UBUO4VHl8K76FAvTW4Z57WIVSLKGUR6EXgzDYbI9fMwHsRw tp9Em5T6BHsQkdnFwvNAp92A5G+kpE6AJ67DyimLZnGEMHKxQTbFxT4o9XvMwHzF l2lVon0R3nFILtOXFzNd9pUSnpjTMxesqnX2/9xHvgnFKizpep72wLjZ/+bZmDaO j2BL7M9nC5SzWZJgU3JLuGBfksEBiWXQh/F06tMlVIRaRxxQiFpoyf16T4+UV8J7 3Dv0CrVsM4AdVxwllp0EsvseeZ4hPlNoe/5IGZqG/9e3lDb54zxFxsfRxB3msELO /4ED61MXx30jnq/G7Ak/Qv90/feO5X/O5TZ91Q8i/ej8z1UAU2XQSTIoBhCd5jbm 5YU3aIvrL/LV5DYz14ymohsnK8qvy6g2PquiZtAj7hxgSRmk2p3rXYKVAd4S5+HN YK8Gd7xSCtQTyX0vUIh6OCRQujVgQIUVSPOWotuUOll41jYmGfF+v6RzcK9XTuJZ ZqXSXYLHoGbqWZd6N8SBDUyHiOJWyBn29a17qX7b3goKGDsxQ36s2A1F3kGSefZY GQ+wBHqVQFXarSEuY9H8 =e6W+ -----END PGP SIGNATURE----- --7mGvLjfjOoK1a/VV--