You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to beegfs-user
Hello,
we stumbled upon what appears to be a bug in the hard link implementation of BeeGFS:
Example:
# Create a hard link
echo "42" > t_file
ln t_file t_link
# parallel read on different nodes(!)
Variant 1 with SSH:
for i in {1..3}; do \
ssh node-$i 'for i in {1..1000}; do cat t_link >/dev/null &
done
Variant 2 with mpirun
salloc -N3 mpirun bash -c "for i in {1..1000} ; do cat t_link >/dev/null ; done"
Output: (some of the 3k reads failed with ENONT)
[31] 3177531
[32] 3177532
[33] 3177533
cat: t_link: No such file or directory
cat: t_link: No such file or directory
cat: t_link: No such file or directory
cat: t_link: No such file or directory
cat: t_link: No such file or directory
My questions:
Is this a known bug/limitation?
Is it related to the new implementation supporting cross-directory hard links?
And is it possibly fixed in 7.4.3, already? Release notes mention some race.
cheers
Michael Krause
--
MPI for Human Development
Room: 42 # Tel: -471
Guan Xin
unread,
May 19, 2024, 8:22:13 PMMay 19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to beegfs-user
Hi,
Probably something equivalent to the NFS option "lookupcache=positive" would help.
So this looks like a feature request?
Guan
Michael Krause
unread,
May 22, 2024, 3:22:48 AMMay 22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fhgfs...@googlegroups.com
Hello Guan,
> Probably something equivalent to the NFS option "lookupcache=positive"
Can you elaborate? I don't see how this is a caching issue. All I do is
read from an existing file (hard link), which is never updated.