Hanisha Koneru created HDDS-1529:
------------------------------------
Summary: 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
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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]