Skip to content

Start to fix fallocate support

Ronnie Sahlberg linux-cifs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cifs: add SMB2_ioctl_init/free helpers to be used with compoundingfs/cifs/smb2pdu.c fs/cifs/smb2proto.h+80 -570 replies
2/2cifs: fix smb3_zero_range so it can expand the file-size when requiredfs/cifs/smb2ops.c fs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+68 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Start to fix fallocate support

Steve, Pavel

These initial two patches fixes fallocate -z (zero range) support against windows2016 shares. This is a different case than what causes generic/469 to fail against samba shares but the approach for all these failures should be similar.

It is a WIP in that it only addresses one single instance of this general limited fallocate support in cifs.ko.
Next steps if you agree this is the way to go, would be to try to think about how we can expand this to some/all of the othter cases as well but perhaps without making too much code duplication.

Steve, can you run this against the buildbot and see that there are no new failures from it?