The madvise utility we use to disable readahead is hardcoded to a single directory, specifically /srv/elasticsearch. It would be more convenient if this took the path as either a command line option or an environment variable.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Accept data path as a cli arg | operations/software/elasticsearch/madvise | master | +42 -6 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | EBernhardson | T390118 Update opensearch-madvise to take a path argument | |||
| Resolved | bking | T390592 Build updated opensearch-madvise .deb and update puppet with new cli argument |
Event Timeline
Comment Actions
Change #1131796 had a related patch set uploaded (by Ebernhardson; author: Ebernhardson):
[operations/software/elasticsearch/madvise@master] Accept data path as a cli arg
Comment Actions
ebernhardson opened https://gitlab.wikimedia.org/repos/search-platform/opensearch-madvise/-/merge_requests/3
Accept data path as a cli arg
Comment Actions
Change #1131796 abandoned by Ebernhardson:
[operations/software/elasticsearch/madvise@master] Accept data path as a cli arg
Reason:
repo has moved to https://gitlab.wikimedia.org/repos/search-platform/opensearch-madvise/
Comment Actions
dcausse merged https://gitlab.wikimedia.org/repos/search-platform/opensearch-madvise/-/merge_requests/3
Accept data path as a cli arg