Kernel 6.12.80+ returns 'fsync=volatile' instead of just 'volatile'
in mount options, which breaks containerd's exact string matching
checks.
Fixes this issue by adding support for 'fsync=volatile' in addition
to the existing 'volatile' check in RemoveVolatileOption and
addVolatileOptionOnImageVolumeMount.
Assisted-by: Antigravity
Signed-off-by: Chris Henzie <chrishenzie@gmail.com>
Unmounting a writable overlayfs can trigger [syncfs][1], causing I/O pressure
and impacting running containers. If possible, we should apply volatile
option to image volume mount.
REF:
[1]: https://github.com/containerd/containerd/pull/6478
Signed-off-by: Wei Fu <fuweid89@gmail.com>