Linux CIFS filesystem development
 help / color / mirror / Atom feed
* SMB2 SET_ZERO_DATA and PUNCH_HOLE
@ 2019-04-25  7:23 ronnie sahlberg
  2019-04-25 16:29 ` Tom Talpey
  2019-05-03 21:08 ` David Disseldorp
  0 siblings, 2 replies; 3+ messages in thread
From: ronnie sahlberg @ 2019-04-25  7:23 UTC (permalink / raw)
  To: linux-cifs, Steve French

Folks.

In the cifs client  we use FSCTL_SET_ZERO_DATA when userspace wants to
punch a hole in a file. SET_ZERO_DATA maps quite well to the
PUNCH_HOLE semantics in that it will deallocate what it can and
overwrite what it can not with 0.

On windows 16/ntfs the deallocate blocksize is 64k.

Does anyone know if this is always 64k or if there is a way to query
the server for this?

regards
ronnie sahlberg

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-03 21:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-25  7:23 SMB2 SET_ZERO_DATA and PUNCH_HOLE ronnie sahlberg
2019-04-25 16:29 ` Tom Talpey
2019-05-03 21:08 ` David Disseldorp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox