ceph-csi/internal
Niels de Vos fe0f169875 rbd: write max 1gb per WriteSame() operation
It seems that writing more than 1 GiB per WriteSame() operation causes
an EINVAL (22) "Invalid argument" error. Splitting the writes in blocks
of maximum 1 GiB should prevent that from happening.

Not all volumes are of a size that is the multiple of the stripe-size.
WriteSame() needs to write full blocks of data, so in case there is a
small left-over, it will be filled with WriteAt().

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2021-03-11 10:57:31 +00:00
..
cephfs cephfs: create subvolume with VolumeNamePrefix 2021-02-19 17:04:17 +00:00
controller cleanup: return error type in ReconcilePersistentVolume.getCredentials() 2020-12-09 08:35:35 +00:00
csi-common cleanup: fix mispell words 2020-11-29 12:47:46 +05:30
journal rbd: store csi.storage.k8s.io/pvc/namespace metadata as Owner 2020-12-09 13:58:48 +00:00
liveness util: replace klog with util logger in liveness.go 2020-08-19 14:38:12 +00:00
rbd rbd: write max 1gb per WriteSame() operation 2021-03-11 10:57:31 +00:00
util ci: add unit tests for SecretsKMS 2021-03-04 12:11:07 +00:00