mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 22:30:23 +00:00
e2e: adding io-timeout for lower kernel versions
This got removed unintentionally with https://github.com/ceph/ceph-csi/pull/2628 Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
parent
c97b6432e3
commit
cee6da5313
@ -268,6 +268,10 @@ var _ = Describe("RBD", func() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
e2elog.Failf("failed to get the kernel version with error %v", err)
|
e2elog.Failf("failed to get the kernel version with error %v", err)
|
||||||
}
|
}
|
||||||
|
// default io-timeout=0, needs kernel >= 5.4
|
||||||
|
if !util.CheckKernelSupport(kernelRelease, nbdZeroIOtimeoutSupport) {
|
||||||
|
nbdMapOptions = "debug-rbd=20,io-timeout=330"
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
AfterEach(func() {
|
AfterEach(func() {
|
||||||
|
Loading…
Reference in New Issue
Block a user