You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rabbit_classic_queue_index_v2: Support copy-on-write filesystems
Copy-on-write filesystems don't support file preallocation by design. In
this case, posix_fallocate(2) and friends will fail. For example it
fails with EINVAL on FreeBSD+ZFS.
There is no point in filling the file with zeroes to mimic
preallocation, like it is done for OSes/filesystems which don't support
this feature. However, we still do it anyway because the rest of the
code assumes that the file was preallocated.
Fixes#4720.
(cherry picked from commit bf394dd)
0 commit comments