Skip to content

Add symlink locking for filesystems that do not support hardlinks#1708

Merged
JeanChristopheMorinPerso merged 3 commits intoAcademySoftwareFoundation:mainfrom
cfxegbert:symlink-locking
Apr 13, 2024
Merged

Add symlink locking for filesystems that do not support hardlinks#1708
JeanChristopheMorinPerso merged 3 commits intoAcademySoftwareFoundation:mainfrom
cfxegbert:symlink-locking

Conversation

@cfxegbert
Copy link
Copy Markdown
Contributor

@cfxegbert cfxegbert commented Apr 4, 2024

In our environment we are using a StorNext file server over Samba on our Mac OSX machines. Mounting over Samba does not allow creating hardlinks. The work done in #903 adds the ability to explicitly use mkdir instead of hardlinks. mkdir may not be an atomic operation on non-local filesystems.

See https://www.mail-archive.com/freebsd-hackers@freebsd.org/msg20456.html

@cfxegbert cfxegbert requested a review from a team as a code owner April 4, 2024 22:51
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Apr 4, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

Copy link
Copy Markdown
Member

@JeanChristopheMorinPerso JeanChristopheMorinPerso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I left two nitpick comments in the docs.

@JeanChristopheMorinPerso JeanChristopheMorinPerso added this to the Next milestone Apr 7, 2024
Copy link
Copy Markdown
Member

@JeanChristopheMorinPerso JeanChristopheMorinPerso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @cfxegbert!

@JeanChristopheMorinPerso
Copy link
Copy Markdown
Member

@cfxegbert can you fix the DCO thing please? You can follow the instructions at https://github.com/AcademySoftwareFoundation/rez/pull/1708/checks?check_run_id=23579052094.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.27%. Comparing base (1b9c72a) to head (d45e5d3).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1708   +/-   ##
=======================================
  Coverage   58.27%   58.27%           
=======================================
  Files         126      126           
  Lines       17157    17157           
  Branches     3504     3504           
=======================================
  Hits         9998     9998           
  Misses       6494     6494           
  Partials      665      665           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

cfxegbert and others added 3 commits April 13, 2024 15:00
Add symlink locking for filesystems that do not support hardlinks

Signed-off-by: Robert Minsk <robertminsk@yahoo.com>
Co-authored-by: Jean-Christophe Morin <38703886+JeanChristopheMorinPerso@users.noreply.github.com>
Signed-off-by: Robert Minsk <38872275+cfxegbert@users.noreply.github.com>
Signed-off-by: Robert Minsk <robertminsk@yahoo.com>
Signed-off-by: Robert Minsk <robertminsk@yahoo.com>
@JeanChristopheMorinPerso
Copy link
Copy Markdown
Member

(I rebased the branch to fix a conflict)

@JeanChristopheMorinPerso JeanChristopheMorinPerso merged commit 9b01d0b into AcademySoftwareFoundation:main Apr 13, 2024
Pixel-Minions added a commit to Pixel-Minions/rez that referenced this pull request Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants