This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: pwritev2 regression test for invalid flags
- From: Florian Weimer <fweimer at redhat dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>, Stephen Bates <sbates at raithlin dot com>, Christoph Hellwig <hch at infradead dot org>, Jon Derrick <jonathan dot derrick at intel dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, "linux-block at vger dot kernel dot org" <linux-block at vger dot kernel dot org>, Christoph Hellwig <hch at lst dot de>, Jens Axboe <axboe at fb dot com>, "viro at zeniv dot linux dot org dot uk" <viro at zeniv dot linux dot org dot uk>
- Date: Wed, 21 Jun 2017 15:08:49 +0200
- Subject: Re: pwritev2 regression test for invalid flags
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 5FFF561D24
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 5FFF561D24
- References: <A4491A52-483F-47CD-8248-04C519C126C2@raithlin.com> <febd41fd-af60-040d-e16e-a7566b57583b@redhat.com> <cd8eafd8-76c7-5215-1aea-457e259f85af@linaro.org>
On 06/21/2017 03:06 PM, Adhemerval Zanella wrote:
>
>
> On 21/06/2017 08:45, Florian Weimer wrote:
>> On 06/20/2017 10:53 PM, Stephen Bates wrote:
>>>>
>>>>> I've already sent this patch to Al twice (including a stable tag),
>>>>> but it didn't seem to make it anywhere.
>>>
>>> Does anyone have ideas how we move this along? This is the missing link in allowing applications to request IO polling…
>>
>> Is this still an issue with the upstream kernel?
>>
>> As far as I can tell, Greg Kroah-Hartman queued the fix for 4.9 and
>> 4.11, and the fix is in mainline, too:
>>
>> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=20223f0f39ea9d31ece08f04ac79f8c4e8d98246
>
> Would it be acceptable to add an issue that stress this issue on glibc?
Sure, except that it is difficult to pull a guaranteed-to-be-invalid
combination of flags out of thin air. Even -1 might eventually cease to
work.
Thanks,
Florian