Files
kubernetes/pkg/volume/csi
John Strunk 55881f2fc4 Improve efficiency of csiMountMgr.GetAttributes
GetAttributes is called repeatedly while setting the fsGroup of a
volume. Previously, it recalculated whether SELinux was supported during
each call. This resulted in volume.SetVolumeOwnership taking a long
time, delaying pod startup for high file count volumes.

This change checks the SELinux status once, right after node publish,
allowing GetAttributes to simply build and return a struct.

Signed-off-by: John Strunk <jstrunk@redhat.com>
2019-10-10 13:51:50 -04:00
..
2019-08-26 09:25:39 +08:00
2019-08-22 08:57:53 +02:00
2019-09-09 11:34:21 +08:00