Re: [patch 1/2] getattr - fill the size of pipes

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: Jan Engelhardt <jengelh@...>, <linux-kernel@...>, <dada1@...>, <linux-fsdevel@...>
Date: Thursday, October 4, 2007 - 7:41 pm

> Cute feature, but it is (I assume) a Linux-specific extension and is

Actually it used to work on the old old Linux pipe code.


Most Sys5 based boxes happen to put the right value there but not
everyone and its not guaranteed in the slightest

Nor me - any application trying to reduce the syscall count would just do
a very large read and get the data and size in one go.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 1/2] getattr - fill the size of pipes, Jan Engelhardt, (Tue Oct 2, 1:54 pm)
Re: [patch 1/2] getattr - fill the size of pipes, Andrew Morton, (Thu Oct 4, 7:22 pm)
Re: [patch 1/2] getattr - fill the size of pipes, Alan Cox, (Thu Oct 4, 7:41 pm)
[patch 2/2] getattr - fill the size of FIFOs, Jan Engelhardt, (Tue Oct 2, 1:55 pm)