[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4F9DDE47.5060008@zytor.com>
Date: Sun, 29 Apr 2012 17:35:19 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
CC: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Michael Tokarev <mjt@....msk.ru>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Ian Kent <raven@...maw.net>, Thomas Meyer <thomas@...3r.de>,
autofs@...r.kernel.org
Subject: Re: autofs: make the autofsv5 packet file descriptor use a packetized
pipe
On 04/29/2012 05:33 PM, Linus Torvalds wrote:
>
> The problem is only if it starts out by reading just the header of the
> packet, and then reads the rest of the packet as a second read. *THAT*
> won't work with the packetized pipe approach, because reading the
> header of the packet will then discard the rest of it, and the second
> read would try to read the *next* packet (which under many normal
> loads won't even exist, of course).
>
Which is funny/sad, because that's actually the intended way the
interface is meant to work.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists