如果散列值是相同的,数据块已经被正确的复制了。
If the hashes are the same, the blocks are properly replicated.
copy _ from_user函数将数据块从用户空间复制到内核缓冲区。
The copy_from_user function copies a block of data from user space into a kernel buffer.
每个文件块的大小和复制因子都是可配置的。
The block size and replication factor are configurable per file.
copy _ to_user函数将数据块从内核复制到用户空间。
The copy_to_user function copies a block of data from the kernel into user space.
copy _ to_user函数将数据块从内核复制到用户空间。
The copy_to_user function copies a block of data from the kernel into user space.
应用推荐