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
..
2024-07-30 14:51:49 +00:00
2023-06-05 04:49:46 +00:00
2024-11-06 09:48:45 +00:00
2023-06-05 04:49:46 +00:00
2024-04-09 06:55:23 +00:00
2024-09-20 08:55:17 +00:00
2024-04-09 06:55:23 +00:00