On 13.03.2019 17:36, Jiri Olsa wrote:
> On Tue, Mar 12, 2019 at 08:30:13AM +0300, Alexey Budankov wrote:
>
> SNIP
>
>> -
>> -md->prev = head;
>> -perf_mmap__consume(md);
>> -
>> -rc = push(to, &md->aio.cblocks[idx], md->aio.data[idx], size0 + size,
>> *off);
>> -if (!rc) {
>> -
On Tue, Mar 12, 2019 at 08:30:13AM +0300, Alexey Budankov wrote:
>
> Compression is implemented using the functions from zstd.c. As the memory
> to operate on the compression uses mmap->aio.data[] buffers. If Zstd
> streaming compression API fails for some reason the data to be compressed
> are ju
On Tue, Mar 12, 2019 at 08:30:13AM +0300, Alexey Budankov wrote:
SNIP
> -
> - md->prev = head;
> - perf_mmap__consume(md);
> -
> - rc = push(to, &md->aio.cblocks[idx], md->aio.data[idx], size0 + size,
> *off);
> - if (!rc) {
> - *off += size0 + size;
> - } else {
Compression is implemented using the functions from zstd.c. As the memory
to operate on the compression uses mmap->aio.data[] buffers. If Zstd
streaming compression API fails for some reason the data to be compressed
are just copied into the memory buffers using plain memcpy().
Compressed trace
4 matches
Mail list logo