diff options
author | Dmitry Tantsur <dtantsur@protonmail.com> | 2023-03-31 15:39:50 +0200 |
---|---|---|
committer | Dmitry Tantsur <dtantsur@protonmail.com> | 2023-03-31 15:49:15 +0200 |
commit | 59c6ad96ce35c9deecfedb5698c5806f3883a8af (patch) | |
tree | 80b9eff0322e3a6ac7002e8cfb03c74ea2590bc5 /driver-requirements.txt | |
parent | abbd859b766c339f5de33ff08704a7b9ad045bef (diff) | |
download | ironic-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 'driver-requirements.txt')
0 files changed, 0 insertions, 0 deletions