login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jan Engelhardt <jengelh@...>
Cc: <linux-kernel@...>, <dada1@...>, <linux-fsdevel@...>
Date: Thursday, October 4, 2007 - 7:22 pm

On Tue, 2 Oct 2007 19:54:53 +0200 (CEST)
Jan Engelhardt <jengelh@computergmbh.de> wrote:



Cute feature, but it is (I assume) a Linux-specific extension and is
something which we'll need to maintain for ever and it invites
unportability to older Linuxes and other OSes and it introduces some risk
of breakage of existing applications.  And it slows down fstat on a pipe.

Given that the info can already be obtained via ioctl(FIONREAD) anyway, I
don't think that (gain > pain)?

-
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)
speck-geostationary