We mount Swift volumes with xfs.
The 'nobarrier' option we used was made noop [1]
and deprecated [2] (with warning) in kernel 4.10.
In 4.19 it was removed [3] resulting in an error
when using e.g. Debian Buster as host.
The noop patch was backported to CentOS 7 so
it is safe to remove this option with no behavior
change and backport to where needed.
Ubuntu Bionic uses 4.15 which only warns.
CentOS 8 uses 4.18 which only warns as well.
Debian Buster uses 4.19 exactly which breaks.
Reviewed: https:/ /review. opendev. org/697256 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=021f55b2fa7 b66aa37d2859331 e48b1383474da7
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 021f55b2fa7b66a a37d2859331e48b 1383474da7
Author: Radosław Piliszek <email address hidden>
Date: Fri Nov 29 20:26:16 2019 +0100
Fix Swift with kernel 4.19 and later
We mount Swift volumes with xfs.
The 'nobarrier' option we used was made noop [1]
and deprecated [2] (with warning) in kernel 4.10.
In 4.19 it was removed [3] resulting in an error
when using e.g. Debian Buster as host.
The noop patch was backported to CentOS 7 so
it is safe to remove this option with no behavior
change and backport to where needed.
Ubuntu Bionic uses 4.15 which only warns.
CentOS 8 uses 4.18 which only warns as well.
Debian Buster uses 4.19 exactly which breaks.
[1] https:/ /git.kernel. org/pub/ scm/linux/ kernel/ git/torvalds/ linux.git/ commit/ ?id=2291dab2c9d 1880efd19469df2 042e2277c8b7a4 /git.kernel. org/pub/ scm/linux/ kernel/ git/torvalds/ linux.git/ commit/ ?id=4cf4573d899 cd80d8578c05006 1dc342f99f3a32 /git.kernel. org/pub/ scm/linux/ kernel/ git/torvalds/ linux.git/ commit/ ?id=1c02d502c20 809a2a5f71ec16a 930a61ed779b81
[2] https:/
[3] https:/
Change-Id: I006dea21321146 c7fc738d0b41c40 1b72d271a99 ac4ace21bea4c5f 929e0189d4)
Closes-bug: #1800132
(cherry picked from commit 21488710d68450e