labring / sealfs

The storage system of sealos, aims to be a high-performance, high-reliability, and auto-scaling distributed file system
Apache License 2.0
142 stars 20 forks source link

Use splice to avoid copying data between kernel and user space #62

Open uran0sH opened 1 year ago

luanshaotong commented 1 year ago

Where does this happen? FUSE or storage engine or other position?

uran0sH commented 1 year ago

Where does this happen? FUSE or storage engine or other position?

Storage engine. When we read data from the file, we can transfer them to a socket that doesn't need to copy data from kernel space to user space.