<div dir="ltr">Hi all,<div><br></div><div>there&#39;s a feature in the locks xlator that sends a notification to current owner of a lock when another client tries to acquire the same lock. This way the current owner is made aware of the contention and can release the lock as soon as possible to allow the other client to proceed.</div><div><br></div><div>This is specially useful when eager-locking is used and multiple clients access the same files and directories. Currently both replicated and dispersed volumes use eager-locking and can use contention notification to force an early release of the lock.</div><div><br></div><div>Eager-locking reduces the number of network requests required for each operation, improving performance, but could add delays to other clients while it keeps the inode or entry locked. With the contention notification feature we avoid this delay, so we get the best performance with minimal issues in multiclient environments.</div><div><br></div><div>Currently the contention notification feature is controlled by the &#39;features.lock-notify-contention&#39; option and it&#39;s disabled by default. Should we enable it by default ?<br></div><div><br></div><div>I don&#39;t see any reason to keep it disabled by default. Does anyone foresee any problem ?</div><div><br></div><div>Regards,</div><div><br></div><div>Xavi</div></div>