Re: [PATCH] ext2: Report metadata errors during fsync

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

 



On Wed, 25 Nov 2009 11:24:53 +0100
Jan Kara <jack@xxxxxxx> wrote:

> When an IO error happens while writing metadata buffers, we should better
> report it and call ext2_error since the filesystem is probably no longer
> consistent. Sometimes such IO errors happen while flushing thread does
> background writeback, the buffer gets later evicted from memory, and thus
> the only trace of the error remains as AS_EIO bit set in blockdevice's
> mapping. So we check this bit in ext2_fsync and report the error although
> we cannot be really sure which buffer we failed to write.

So this doesn't cause significant changes in runtime behaviour unless
the operator specified errors=remount-ro or errors=panic?
--
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