Skip to content

Commit

Permalink
move patch specifc desc to patch directory readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
casusbelli committed Aug 1, 2017
1 parent b889ca1 commit 7bdc09f
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 16 deletions.
20 changes: 4 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
16 changes: 16 additions & 0 deletions systemd-cgroup_patch/README.md
Original file line number Diff line number Diff line change
@@ -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

11 changes: 11 additions & 0 deletions truncate_ephemeral_patch/README.md
Original file line number Diff line number Diff line change
@@ -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
13 changes: 13 additions & 0 deletions xattr-removal_patch/README.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7bdc09f

Please sign in to comment.