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

__wt_allocate() fails under OmniOS

    • Type: Icon: Task Task
    • Resolution: Done
    • WT2.4.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      % 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

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: