This together with !96 (merged) fixes the problem with ionice. I tested this on the servers with one of my repos, so this one actually works.
@yorickpeterse if you're ok with the changes, can you release 3.6.4 after you merge this, please?
Status changed to merged
Mentioned in commit 32ebd136
Mentioned in merge request gitlab-ce!6751 (merged)
Mentioned in commit gitlab-ce@2d3210fd
Mentioned in merge request gitlab-com/www-gitlab-com!3412 (merged)
This will create a new commit in order to revert the existing changes.