1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-17 06:04:23 +03:00
Zdenek Kabelac 8947964f10 wipe_lv: use zeroing ioctl only for large sizes
There is no easy way to detect, whether device supports zeroing,
and kernel also zeroes device when it's not directly supported,
but with extra message:

operation not supported error, dev X, sector Y op 0x9:(WRITE_ZEROES)...

So to avoid generating such message with every 'lvcreate', use for
zeroing of upto 8K just standard write of zeroed page.
(maybe we can go with even larger sizes).
2023-04-25 00:12:31 +02:00
..
2023-02-10 17:50:27 +01:00
2023-02-17 00:00:04 +01:00
2018-06-08 13:40:53 +01:00
2023-02-17 00:00:04 +01:00
2018-06-08 13:40:53 +01:00
2021-09-27 18:56:14 +02:00
2022-08-30 13:56:16 +02:00
2021-03-19 23:21:18 +01:00
2021-02-08 23:53:41 +01:00
2018-06-08 13:40:53 +01:00
2022-08-30 13:54:19 +02:00
2018-06-08 13:40:53 +01:00
2022-02-07 20:02:11 +01:00
2018-06-08 13:40:53 +01:00