Open iPraveenParihar opened 1 month ago
lets discuss on this one and we need to see can what will happen when we try to do nodeserver operations like (expand/umount) etc when the fstrim is going on can it leads to corruption etc. based on that we can have central/shared locking.
I do not think this can cause corruption. If so, it is a bug in the filesystem.
Is it allowed to expand or remove the image when the ControllerReclaimOperation is going on etc.
ControllerReclaim
is running, the image is open, so deleting it may not be possible (and the CO should retry with backoff)lets discuss on this one and we need to see can what will happen when we try to do nodeserver operations like (expand/umount) etc when the fstrim is going on can it leads to corruption etc. based on that we can have central/shared locking.
I do not think this can cause corruption. If so, it is a bug in the filesystem.
Is it allowed to expand or remove the image when the ControllerReclaimOperation is going on etc.
- expanding should be allowed, but maybe RBD prevents running both operations at the same time?
- while
ControllerReclaim
is running, the image is open, so deleting it may not be possible (and the CO should retry with backoff)
@nixpanic yes once we test these things and decide letter on!
_Originally posted by @Madhu-1 in https://github.com/ceph/ceph-csi/pull/4641#discussion_r1616758500_