[lustre-discuss] Lustre [2.8.0] flock Functionality

Mohr Jr, Richard Frank (Rick Mohr) rmohr at utk.edu
Tue Mar 28 12:43:37 PDT 2017

> On Mar 28, 2017, at 1:49 PM, DeWitt, Chad <ccdewitt at uncc.edu> wrote:
> We've encountered several programs that require flock, so we are now investigating enabling flock functionality.  However, the Lustre manual includes a passage in regards to flocks which gives us pause:
> "Warning
> This mode affects the performance of the file being flocked and may affect stability, depending on the Lustre version used.  Consider using a newer Lustre version which is more stable. If the consistent mode is enabled and no applications are using flock, then it has no effect."
> We are running Lustre 2.8.0 (servers and clients).  I've looked through Jira, but didn't see anything that looked like a showstopper.  
> Just curious if anyone has enabled flocks and encountered issues?  Anything in particular to look out for?

I have enabled flock on all my Lustre file systems (2.4.3 and 2.8), and I have not yet encountered any issues.

Rick Mohr
Senior HPC System Administrator
National Institute for Computational Sciences

More information about the lustre-discuss mailing list