ceph-csi/internal/rbd
Prasanna Kumar Kalever 4f40213d8e rbd: fix rbd-nbd io-timeout to never abort
With the tests at CI, it kind of looks like that the IO is timing out after
30 seconds (default with rbd-nbd). Since we have tweaked reattach-timeout
to 300 seconds at ceph-csi, we need to explicitly set io-timeout on the
device too, as it doesn't make any sense to keep
io-timeout < reattach-timeout

Hence we set io-timeout for rbd nbd to 0. Specifying io-timeout 0 tells
the nbd driver to not abort the request and instead see if it can be
restarted on another socket.

Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Suggested-by: Ilya Dryomov <idryomov@redhat.com>
2021-08-24 17:09:09 +00:00
..
clone.go doc: correct some source code comments in rbd driver code 2021-08-17 06:57:09 +00:00
controllerserver_test.go cleanup: resolve parallel test issue 2021-07-13 11:31:39 +00:00
controllerserver.go doc: correct some source code comments in rbd driver code 2021-08-17 06:57:09 +00:00
driver.go doc: correct some source code comments in rbd driver code 2021-08-17 06:57:09 +00:00
encryption.go rbd: extract kmsID from volumeAttributes in RegenerateJournal() 2021-08-10 09:17:59 +00:00
errors.go rbd: correct the code comment for ErrFlattenInProgress 2020-10-20 08:59:25 +00:00
identityserver.go internal: reformat long lines in internal/rbd package to 120 chars 2021-06-28 14:43:49 +00:00
mirror.go rbd: add helper function to get local state 2021-08-16 17:38:25 +00:00
nodeserver_test.go cleanup: addresses paralleltest linter 2021-06-25 11:55:12 +00:00
nodeserver.go rbd: remove per volume rbd-nbd logfiles on detach 2021-08-24 07:15:30 +00:00
rbd_attach.go rbd: fix rbd-nbd io-timeout to never abort 2021-08-24 17:09:09 +00:00
rbd_healer.go rbd: add ReadWriteOncePod in accessModeStrToInt() conversion function 2021-08-12 09:55:50 +00:00
rbd_journal.go rbd: extract kmsID from volumeAttributes in RegenerateJournal() 2021-08-10 09:17:59 +00:00
rbd_util_test.go rbd: add a unit test for getCephClientLogFileName() 2021-08-24 07:15:30 +00:00
rbd_util.go rbd: remove per volume rbd-nbd logfiles on detach 2021-08-24 07:15:30 +00:00
replicationcontrollerserver_test.go rbd: consider empty mirroring mode 2021-08-09 11:05:05 +00:00
replicationcontrollerserver.go rbd: return succuss if image is healthy secondary 2021-08-16 17:38:25 +00:00
snapshot.go cleanup: resolve nlreturn linter issues 2021-07-22 06:05:01 +00:00