Re: [RFC PATCH 0/3] Stop clearing uptodate flag on write IO error
From: Linus Torvalds
Date: Mon Jan 23 2012 - 18:50:12 EST
On Mon, Jan 23, 2012 at 1:47 PM, Ted Ts'o <tytso@xxxxxxx> wrote:
>
> So how does XFS decide whether a write should fail and shutdown the
> file system, or just "try forever"?
Why would it bother? XFS tends to be a filesystem that you'd only use
for core files in environments where you have a system manager that
knows what he is doing. So there, maybe "try forever" is the right
thing to do.
Things are a bit different with some random unreliable USB stick FAT32
filesystem that just died on you, with a normal user that just removes
the thing or doesn't even notice that the stick is now dead. There the
"try forever" is totally the wrong thing to do.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/