Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-1267

__wt_allocate() fails under OmniOS

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.4.0
    • Component/s: None
    • Labels:

      Description

      % uname -a
      SunOS ip-10-178-182-71.ec2.internal 5.11 omnios-d3950d8 i86pc i386 i86xpv)

      posix_fallocate is detected by the configure script but fails at runtime (returns EINVAL) when invoked within __wt_allocate(). So far, I have observed this trying to create WT log files on both ZFS and tmpfs filesystems.

      I was able to work around this issue by disabling HAVE_POSIX_FALLOCATE in wiredtiger_config.h after running configure but was wondering if there's a better way to fix this either when running configure or at runtime.

      References:
      http://docs.oracle.com/cd/E26502_01/html/E29034/posix-fallocate-3c.html

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              keith.bostic Keith Bostic
              Reporter:
              benety.goh Benety Goh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: