ceph-csi/internal
Niraj Yadav c308e096da rbd: Use assume_storage_prezeroed when formatting
Instead of passing lazy_itable_init=1 and lazy_journal_init=1 to
mkfs.ext4, pass assume_storage_prezeroed=1 which is
stronger and allows the filesystem to skip inode table zeroing
completely instead of simply doing it lazily.

The support for this flag is checked by trying to format a fake
temporary image with mkfs.ext4 and checking its STDERR.

Closes: #4948
Signed-off-by: Niraj Yadav <niryadav@redhat.com>
2025-01-24 11:58:33 +00:00
..
cephfs ci: non-constant format string (govet) 2025-01-08 11:56:24 +00:00
controller ci: non-constant format string (govet) 2025-01-08 11:56:24 +00:00
csi-addons rbd: add context in reported errors by GetVolumeReplicationInfo 2025-01-15 08:36:39 +00:00
csi-common util: added logs for slow gRPC calls 2024-09-20 08:55:17 +00:00
health-checker doc: fix codespell problem 2024-09-04 10:13:47 +00:00
journal journal: store csi.groupid for snapshots 2024-11-06 11:37:44 +00:00
kms ci: address return value is not checked (errcheck) 2025-01-08 11:56:24 +00:00
liveness ci: non-constant format string (govet) 2025-01-08 11:56:24 +00:00
nfs util: added logs for slow gRPC calls 2024-09-20 08:55:17 +00:00
rbd rbd: Use assume_storage_prezeroed when formatting 2025-01-24 11:58:33 +00:00
util rbd: Use assume_storage_prezeroed when formatting 2025-01-24 11:58:33 +00:00