diff --git a/RTCP/Cobalt/OutputProc/src/FastFileStream.h b/RTCP/Cobalt/OutputProc/src/FastFileStream.h index 5b1c4335f83d3a46a627de78eb8bfa950c9505d6..536af07b3a7db293230486b6c2d39c3b4799bce2 100644 --- a/RTCP/Cobalt/OutputProc/src/FastFileStream.h +++ b/RTCP/Cobalt/OutputProc/src/FastFileStream.h @@ -43,7 +43,9 @@ namespace LOFAR virtual size_t size(); // formally, the required alignment for O_DIRECT is determined by the file system - static const size_t alignment = 512; + // for local disks, 512 is a typical default. + // for Lustre, 4096 is required. + static const size_t alignment = 4096; private: // writes the remainder, padded with zeros if needed. Returns the number of zero-pad bytes written. size_t writeRemainder();