summaryrefslogtreecommitdiffstats
path: root/fs/cifs/trace.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2019-05-02 15:52:57 +1000
committerSteve French <stfrench@microsoft.com>2019-05-07 23:24:55 -0500
commitc425014afd7f622d586e7242f94019131790f5a3 (patch)
tree98abb41afde40d638530693a9b0a591083a0b271 /fs/cifs/trace.h
parentc7fe388d76e900e6c49f8df51cfd21903832fdd5 (diff)
downloadlinux-c425014afd7f622d586e7242f94019131790f5a3.tar.bz2
cifs: fix smb3_zero_range for Azure
For zero-range that also extend the file we were sending this as a compound of two different operations; a fsctl to set-zero-data for the range and then an additional set-info to extend the file size. This does not work for Azure since it does not support this fsctl which leads to fallocate(FALLOC_FL_ZERO_RANGE) failing but still changing the file size. To fix this we un-compound this and send these two operations as separate commands, firsat one command to set-zero-data for the range and it this was successful we proceed to send a set-info to update the file size. This fixes xfstest generic/469 for Azure servers. Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/trace.h')
0 files changed, 0 insertions, 0 deletions