Re: 2.4.20-pre11 /proc/partitions read

Jan Kasprzak (kas@informatics.muni.cz)
Wed, 23 Oct 2002 10:39:22 +0200


Christoph Hellwig wrote:
: Both of those should be fixed by my patch, i.e. were caused by a bug
: in fpos handling in the seq_file /proc/partions. There is nothing
: about the statistics in them.

The problem is that without statistics, the /proc/partitions
contents is a *lot* smaller, so it probably fits in a single 1024-byte read()
syscall. So having stats in /proc/partitions only increases the probability
of this problem. I'll try your patch and let you know then.

-Y.

-- 
| Jan "Yenya" Kasprzak  <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839      Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/   Czech Linux Homepage: http://www.linux.cz/ |
|-- If you start doing things because you hate others and want to screw  --|
|-- them over the end result is bad.   --Linus Torvalds to the BBC News  --|
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/