On Sat, Oct 19, 2013 at 06:04:55PM -0500, Eric Sandeen wrote: > > Maybe the ratelimit should depend on that then? I'm just concerned about > the possibility of filtering messages that, rather than being a nuisance, > are vital to figuring out what went wrong. > > (granted, it's probably the first error or two that matters) The default rate limit threshold that we've set is ten messages per 5 seconds. I have a really hard time believing that the 11th message is going to containing any critical information that won't be in the first ten. :-) > Or maybe it's only relevant with errors=continue, and errors=remount-ro > will be self-limiting in any case. Even with remount-ro, there are certainly cases where things will not be self limiting, simply because user processes continually try referencing the same corrupted directory or file. > > When xfs "shuts down" the file system, it doesn't allow any read or > > write accesses, right? So it's basically an even stronger version of > > errors=remount-ro. We should perhaps discuss whether it would be > > better to squelch errors if we've remounted the file system read-only, > > or whether we should implement a complete shutdown errors option. > > Yeah, there is no errors=continue type option, that is probably too > dangerous in general for the majority of users. What I was asking was whether it might make sense for us to implement a errors=shutdown-fs option which causes all read operations (in addition to write operations) to immediately return EIO. That would certainly reduce the error flood risk, but if you did this on the root file system, you might as well set errors=panic. This is what XFS's default behavior on fserrors, correct? - Ted -- 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