[Bug 223440] world needs review and adjustment for the disabling of fallocate for zfs (-r325320), lld included

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 1 15:45:04 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223440

Ed Maste <emaste at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste at freebsd.org

--- Comment #10 from Ed Maste <emaste at freebsd.org> ---
I believe the sqlite issue is a bug.  For cases where posix_fallocate is
supported by the operating system but returns EINVAL indicating that the
filesystem does not support the operation we should just treat the call as
advisory, and carry on.

-      if( err ) return SQLITE_IOERR_WRITE;
+      if( err!=EINVAL ) return SQLITE_IOERR_WRITE;

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list