You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Arpit Agarwal (Jira)" <ji...@apache.org> on 2020/06/02 17:49:00 UTC

[jira] [Updated] (HDDS-1529) BlockInputStream: Avoid buffer copy if the whole chunk is being read

     [ https://issues.apache.org/jira/browse/HDDS-1529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arpit Agarwal updated HDDS-1529:
--------------------------------
    Fix Version/s: 0.7.0

> BlockInputStream: Avoid buffer copy if the whole chunk is being read
> --------------------------------------------------------------------
>
>                 Key: HDDS-1529
>                 URL: https://issues.apache.org/jira/browse/HDDS-1529
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>            Reporter: Hanisha Koneru
>            Priority: Major
>             Fix For: 0.7.0
>
>
> Currently, BlockInputStream reads chunk data from DNs and puts it in a local buffer and then copies the data to clients buffer. This is required for partial chunk reads where extra chunk data than requested might have to be read so that checksum verification can be done. But if the whole chunk is being read, we can copy the data directly into client buffer and avoid double buffer copies.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org