What is commit=0 for ext4? does mdadm not support it

ext4filesystemsmdadmoptionssoftware-raid

I see this in my dmesg log

EXT4-fs (md1): re-mounted. Opts: commit=0
EXT4-fs (md2): re-mounted. Opts: commit=0
EXT4-fs (md3): re-mounted. Opts: commit=0

I think that means that dealloc is disabled? does mdadm not support dealloc?

Best Answer

mdadm supports dealloc.

commit=sec is the time, the filesystem syncs its data and metadata. Setting this to 0 has the same effect as using the default value 5.

So I don't get the link between mdadm and commit=0 in your question?

Related Question