cifsd-team / ksmbd

ksmbd kernel server(SMB/CIFS server)
151 stars 23 forks source link

Planning for shadow copy support ? #512

Open HiFiPhile opened 3 years ago

HiFiPhile commented 3 years ago

Thanks for this great work !

Compared to samba now cifsd is a very attractive alternative for file sharing, without bloat and have RDMA support.

However shadow copy combined with zfs snapshot is an powerful feature for NAS. Do you have any planning to add shadow copy ?

namjaejeon commented 3 years ago

cifsd support shadow copy(windows : FSCTL_COPYCHUNK, linux: copy_file_range(2)). Does it not work well ?

HiFiPhile commented 3 years ago

Sorry I'm referring to vfs_shadow_copy2 in order to expose filesystem snapshot as shadow copy.

namjaejeon commented 3 years ago

Hm.. Frankly don't know how to implement the function in the kernel.