Re: ext4 barrier on SCSI vs SATA?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/09/12 21:50, Jan Kara wrote:
[]

I have some troubles understanding the barriers thing, can you help me?


In the past some blockdevices would not provide / propagate the barriers, e.g. MD raid 5 would not. So filesystems during mount would try the barrier operation and see that it wouldn't work, so they would disable barrier option and mount as nobarrier.

However the flush was always available (I think), in fact databases would not corrupt (not even above ext4 nobarrier, above a raid5 without barriers) if fsync was called at proper times.

So first question is : why filesystems were not using the flush as a barrier like databases did?

Second question is : was a nobarrier mount (ext4) more risky in terms of data or metadata lost on sudden power loss?

Thank you
Asdo
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux