It seems that we always allocate shm slot when local read, even if we only
do the SC read without zero copy. Can we save this if no zero copy needed?

According to my understanding, the shm slot is not used if we don't do the
zero copy when local read, is that right?

public ShortCircuitReplica(ExtendedBlockId key,
    FileInputStream dataStream, FileInputStream metaStream,
    ShortCircuitCache cache, long creationTimeMs, Slot slot) throws
IOException {

Xie Gang

Reply via email to