Skip to content
Commit 31742c5a authored by Steve French's avatar Steve French
Browse files

enable fallocate punch hole ("fallocate -p") for SMB3



Implement FALLOC_FL_PUNCH_HOLE (which does not change the file size
fortunately so this matches the behavior of the equivalent SMB3
fsctl call) for SMB3 mounts.  This allows "fallocate -p" to work.
It requires that the server support setting files as sparse
(which Windows allows).

Signed-off-by: default avatarSteve French <smfrench@gmail.com>
parent ad3829cf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment