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-03-31 15:49:15 +0200
commit59c6ad96ce35c9deecfedb5698c5806f3883a8af (patch)
tree80b9eff0322e3a6ac7002e8cfb03c74ea2590bc5 /releasenotes/notes/cross-link-1ffd1a4958f14fd7.yaml
parentabbd859b766c339f5de33ff08704a7b9ad045bef (diff)
downloadironic-59c6ad96ce35c9deecfedb5698c5806f3883a8af.tar.gz
Always fall back from hard linking to copying files
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
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.