2009-06-12 18:15:21

by Doug Hunley

[permalink] [raw]
Subject: quick question on journal_checksum

If one specifies journal_checksum as a mount option for an ext4
rootfs, it should show up in the output of 'mount', yes? I'm not
seeing it.

My grub line:
kernel /boot/vmlinuz-2.6.30-gentoo-r1 rw vga=0x31B
video=vesafb:1280x1024-24,mtrr:3,ywrap hpet=force fastboot quiet
forcedeth.msi=1 forcedeth.msix=1 forcedeth.dma_64bit=1 root=/dev/md3
rootfstype=ext4 rootflags=journal_checksum

and the 'mount' output:
rootfs on / type rootfs (rw)
/dev/root on / type ext4 (rw,relatime,barrier=1,data=writeback)

Is this related to barriers failing? From dmesg:
JBD: barrier-based sync failed on md3:8 - disabling barriers

Thanks
--
Douglas J Hunley - [email protected]
http://douglasjhunley.com
Twitter: @hunleyd


2009-07-14 18:52:42

by Jan Kara

[permalink] [raw]
Subject: Re: quick question on journal_checksum

Hi,

> If one specifies journal_checksum as a mount option for an ext4
> rootfs, it should show up in the output of 'mount', yes? I'm not
> seeing it.
>
> My grub line:
> kernel /boot/vmlinuz-2.6.30-gentoo-r1 rw vga=0x31B
> video=vesafb:1280x1024-24,mtrr:3,ywrap hpet=force fastboot quiet
> forcedeth.msi=1 forcedeth.msix=1 forcedeth.dma_64bit=1 root=/dev/md3
> rootfstype=ext4 rootflags=journal_checksum
>
> and the 'mount' output:
> rootfs on / type rootfs (rw)
> /dev/root on / type ext4 (rw,relatime,barrier=1,data=writeback)
>
> Is this related to barriers failing? From dmesg:
> JBD: barrier-based sync failed on md3:8 - disabling barriers
This is unrelated. It's a bug in how ext4 shows options in
/proc/mounts. Attached patch should fix it. Ted, will you merge it
please?

Honza
--
Jan Kara <[email protected]>
SuSE CR Labs


Attachments:
(No filename) (842.00 B)
0001-ext4-Show-journal_checksum-option.patch (912.00 B)
Download all attachments