SMB3 Unix extensions

Jeremy Allison jra at samba.org
Fri Apr 28 19:26:28 UTC 2017


On Fri, Apr 28, 2017 at 12:20:02PM -0700, ronnie sahlberg wrote:
> For your VFS presentation,   could I request that
> * "Add discard API to the VFS layer"
> 
> be put on the roadmap ?    :-)

Checking - Looks like it's already done ! See:

VFS_FALLOCATE_FL_PUNCH_HOLE

and this is plumbed down into source3/lib/system.c:sys_fallocate().

You get to this via SMB2 ioctl FSCTL_SET_ZERO_DATA.



More information about the samba-technical mailing list