diff options
author | delphij <delphij@FreeBSD.org> | 2010-09-23 01:24:33 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2010-09-23 01:24:33 +0000 |
commit | 2dd5415ff3a6817e90055b3a1e759b89c45b0232 (patch) | |
tree | c6d59f21e3c5e6fc3f6f20c4ab97fcf9556dea21 /bin | |
parent | f029ecd9aaa6b7e1270edd7e076e67a38dc96ff5 (diff) | |
download | FreeBSD-src-2dd5415ff3a6817e90055b3a1e759b89c45b0232.zip FreeBSD-src-2dd5415ff3a6817e90055b3a1e759b89c45b0232.tar.gz |
In the past gunzip(1) write()'s after each inflate return. This is
not optimal from a performance standpoint since the write buffer is
not necessarily be filled up when the inflate rountine reached the
end of input buffer and it's not the end of file.
This problem gets uncovered by trying to pipe gunzip -c output to
a GEOM device directly, which enforces the writes be multiple of
sector size.
Sponsored by: iXsystems, Inc.
Reported by: jpaetzel
MFC after: 2 weeks
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions