LLNL / UnifyFS

UnifyFS: A file system for burst buffers
Other
99 stars 31 forks source link

Add wrapper for fopen64 #771

Closed wangvsa closed 1 year ago

wangvsa commented 1 year ago

Description

Add fopen64 wrapper. The wrapper reuses the internal uniyfs_fopen function, which was implemented for fopen wrapper, with the exception of adding the O_LARGEFILE flag when creating new files.

Motivation and Context

Several 64-bit version wrappers are missing, including fopen64, stat64, fstat64, etc. One known application, Montage, uses those functions (https://github.com/LLNL/UnifyFS/issues/769). The documentation on adding new wrappers is outdated. So this PR adds only one wrapper and tries to make sure all necessary files are modified. We can update the doc later if everything works fine.

Types of changes

Checklist: