Re: [PATCH v2] Introduce a version6 of autofs interface, to fixdesign error.

From: David Miller
Date: Fri Apr 27 2012 - 16:29:56 EST


From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Apr 2012 12:56:20 -0700

> - when reading, consider a pipe buffer to be "spent" when any of the
> data has been read

So basically any sized read empties the entire pipe, right?

As long as we never generate multiple messages at the same
time, I guess this would work.

Otherwise we can't use this approach without some adjustments.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/