RE: v2 aligned buffer changes for erasure codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I fail to see how the 32 * k is related to alignment. It's only used for
> to pad the total size so it becomes a mulitple of k * 32. That is ok
> since we want k 32-byte aligned chunks. The alignment for each chunk is
> just 32-bytes.

Yes, agreed! The alignment for each chunk should be 32 bytes. 

And the implementation is most efficient if the given encoding buffer is already padded to k*32 bytes, it avoids an additional buffer allocation and copy.

Cheers Andreas.--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux