summaryrefslogtreecommitdiff
path: root/releasenotes/notes/cross-link-1ffd1a4958f14fd7.yaml
diff options
context:
space:
mode:
authorDmitry Tantsur <dtantsur@protonmail.com>2023-03-31 15:39:50 +0200
committerDmitry Tantsur <dtantsur@protonmail.com>2023-04-11 17:23:34 +0000
commitb2248e87808a7f4175ad032681302b876084f13b (patch)
treed879de30b88219c922ff8867c894e928a0f4aa3f /releasenotes/notes/cross-link-1ffd1a4958f14fd7.yaml
parent29e0d79fd65c54ca89a285ebfe6e4b0552399252 (diff)
downloadironic-b2248e87808a7f4175ad032681302b876084f13b.tar.gz
Always fall back from hard linking to copying filesbugfix/21.3
The current check is insufficient: it passes for Kubernetes shared volumes, although hard-linking between them is not possible. This patch changes the approach to trying a hard link and falling back to copyfile instead. The patch relies on optimizations in Python 3.8 and thus should not be backported beyond the Zed series to avoid performance regression. Change-Id: I929944685b3ac61b2f63d2549198a2d8a1c8fe35 (cherry picked from commit 59c6ad96ce35c9deecfedb5698c5806f3883a8af)
Diffstat (limited to 'releasenotes/notes/cross-link-1ffd1a4958f14fd7.yaml')
-rw-r--r--releasenotes/notes/cross-link-1ffd1a4958f14fd7.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/releasenotes/notes/cross-link-1ffd1a4958f14fd7.yaml b/releasenotes/notes/cross-link-1ffd1a4958f14fd7.yaml
new file mode 100644
index 000000000..caac13dd4
--- /dev/null
+++ b/releasenotes/notes/cross-link-1ffd1a4958f14fd7.yaml
@@ -0,0 +1,5 @@
+---
+fixes:
+ - |
+ Fixes ``Invalid cross-device link`` in some cases when using ``file://``
+ image URLs.