Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-1529

BlockInputStream: Avoid buffer copy if the whole chunk is being read

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hanishakoneru Hanisha Koneru
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated: