Bug 208775
Summary: | CIFS: fallocate can't change file system disk space usage | ||
---|---|---|---|
Product: | File System | Reporter: | Xiaoli Feng (fengxiaoli0714) |
Component: | CIFS | Assignee: | fs_cifs (fs_cifs) |
Status: | RESOLVED WILL_NOT_FIX | ||
Severity: | normal | CC: | smfrench |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.8.0-rc7+ | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Xiaoli Feng
2020-08-03 02:13:54 UTC
There is a probably Samba server bug here - since it didn't mark the file as a sparse file (so we in the client can't know to unsparse it to fix this) but ... the easiest way to fix this is to use a recommended Samba server config setting for xfs/btrfs/ext4 which is "strict allocate = yes" in the server's smb.conf file. When I tried with that update to smb.conf - seems to work fine. |