Am 2017-12-29 21:35, schrieb Adam Borowski: 

> resize2fs -b $DEV
> tune2fs -O metadata_csum $DEV
> fsck.ext4 -D $DEV

One thing is unclear to me. Reading this wiki:
https://ext4.wiki.kernel.org/index.php/Ext4_Metadata_Checksums

They say: 

        * Install Linux 3.6+ and e2fsprogs 1.43-WIP.
        * modprobe crc32c-intel
        * mkfs.ext4 -O metadata_csum,64bit /dev/path/to/disk
        * mount /dev/path/to/disk /mountpoint -o journal_checksum

and: 

Some recent CPUs (Intel and SPARC) provide a hardware accelerated CRC32c
implementation. For best performance you should ensure that these
modules load before any ext4 filesystems with checksums. 

doing a lsmod on my system, I see: 

$ lsmod|fgrep crc
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
crc16 16384 2 bluetooth,ext4
crc32c_generic 16384 0
crc32c_intel 24576 2

crc16 is used by ext4. Does that mean I am not using hardware
accelerated crc32c? 

If not, what can I do to use hardware accelerated crc32c? 

Is it possible to turn an existing ext4fs into one with crc32c? 

How can I load module crc32c_intel before filesystems get mounted? 

Jochen
_______________________________________________
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to