From 7bdc09f903d8e48094c665b7889fd273dd22d6af Mon Sep 17 00:00:00 2001 From: Silvan Kaiser Date: Tue, 1 Aug 2017 11:58:51 +0200 Subject: [PATCH] move patch specifc desc to patch directory readmes --- README.md | 20 ++++---------------- systemd-cgroup_patch/README.md | 16 ++++++++++++++++ truncate_ephemeral_patch/README.md | 11 +++++++++++ xattr-removal_patch/README.md | 13 +++++++++++++ 4 files changed, 44 insertions(+), 16 deletions(-) create mode 100644 systemd-cgroup_patch/README.md create mode 100644 truncate_ephemeral_patch/README.md create mode 100644 xattr-removal_patch/README.md diff --git a/README.md b/README.md index 64e76a9..1f9f173 100644 --- a/README.md +++ b/README.md @@ -11,35 +11,23 @@ Patches in this project are ordered by OpenStack releases. For example a specifi ## Usage -These patches can be applied by navigating to the project to be patched root directory and running: +These patches can be applied by navigating to the project to be patched root directory and running the linux patch utility, e.g.: patch -p1 < /path/to/patchfile +Please see the different patches readme files for their respective installation commands. + # Contents ## systemd-cgroup_patch Backport of a [Nova bugfix](https://review.openstack.org/#/c/432344/) for a [bug](https://bugs.launchpad.net/nova/+bug/1530860) that caused mounts to be removed when the Nova service was stopped or restarted. -__Important__: Installations that applied the previous [Nova Mitaka external mount patch](https://github.com/quobyte/nova_mitaka_external-mount_patch) for this issue have to remove this previous patch before applying the systemd-cgroup_patch! -Removal can easily be done via: - - patch -p1 -R < /path/to/patchfile - ## truncate-ephemeral_patch This patch changes Nova ephemeral image prealloc behaviour by running truncate instead of fallocate. This improves performance with ephemeral images on Quobyte volumes. This change is compatible with other backends with a possible performance impact. -### Usage - -This patch can be applied by navigating to the Nova project root directory and running: - - patch -p0 < /path/to/patchfile - ## xattr-removal_patch -Backports of performance optimizations that remove the usage of xattr from the Nova driver and mount Quobyte volumes without xattr support, in order to improve iops. This patch comes in two flavors: - -* xattr-removal_mitaka-nova_plain-diff.patch: patches xattr out of the vanilla release code -* xattr-removal_mitaka-nova_upon-systemd-run-patch.patch: patches xattr out of code that has previously been patched with the systemd-cgroup patch from this repository +Backports of performance optimizations that remove the usage of xattr from the Nova driver and mount Quobyte volumes without xattr support, in order to improve iops. \ No newline at end of file diff --git a/systemd-cgroup_patch/README.md b/systemd-cgroup_patch/README.md new file mode 100644 index 0000000..c47e97f --- /dev/null +++ b/systemd-cgroup_patch/README.md @@ -0,0 +1,16 @@ + +## systemd-cgroup_patch + +Backport of a [Nova bugfix](https://review.openstack.org/#/c/432344/) for a [bug](https://bugs.launchpad.net/nova/+bug/1530860) that caused mounts to be removed when the Nova service was stopped or restarted. + +__Important__: Installations that applied the previous [Nova Mitaka external mount patch](https://github.com/quobyte/nova_mitaka_external-mount_patch) for this issue have to remove this previous patch before applying the systemd-cgroup_patch! +Removal can easily be done via: + + patch -p1 -R < /path/to/patchfile + +### Usage + +These patches can be applied by navigating to the project to be patched root directory and running: + + patch -p1 < /path/to/patchfile + diff --git a/truncate_ephemeral_patch/README.md b/truncate_ephemeral_patch/README.md new file mode 100644 index 0000000..0d8ed2c --- /dev/null +++ b/truncate_ephemeral_patch/README.md @@ -0,0 +1,11 @@ + +## truncate-ephemeral_patch + +This patch changes Nova ephemeral image prealloc behaviour by running truncate instead of fallocate. This improves performance with ephemeral images on Quobyte volumes. +This change may have a possible performance impact on other backends. + +### Usage + +This patch can be applied by navigating to the Nova project root directory and running: + + patch -p0 < /path/to/patchfile diff --git a/xattr-removal_patch/README.md b/xattr-removal_patch/README.md new file mode 100644 index 0000000..4b4ddb9 --- /dev/null +++ b/xattr-removal_patch/README.md @@ -0,0 +1,13 @@ + +## xattr-removal_patch + +Backports of performance optimizations that remove the usage of xattr from the Nova driver and mount Quobyte volumes without xattr support, in order to improve iops. This patch comes in two flavors: + +* xattr-removal_mitaka-nova_plain-diff.patch: patches xattr out of the vanilla release code +* xattr-removal_mitaka-nova_upon-systemd-run-patch.patch: patches xattr out of code that has previously been patched with the systemd-cgroup patch from this repository + +### Usage + +These patches can be applied by navigating to the project to be patched root directory and running: + + patch -p1 < /path/to/patchfile