[
https://issues.apache.org/jira/browse/HDDS-1529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aravindan Vijayan updated HDDS-1529:
------------------------------------
Description: 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. (was: underlined textCurrently, 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.)
> 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
> Assignee: Aravindan Vijayan
> Priority: Major
>
> 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: [email protected]
For additional commands, e-mail: [email protected]