Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A consequence of using O_DIRECT on some file systems is that the buffer alignment and size must be quantized on boundaries given by the file system's block size or the write() system call signals EINVAL (causes 'write error: Invalid argument' (EINVAL).  The Weka file system used in SRCF does not appear to have this constraint, but the Lustre file system used in NEH (block size 4096) and Lab3's /u1 (block size 512), do.