SMB3 Unix extensions

Jeremy Allison jra at
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:


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