Re: On Removing BUG_ON macros

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Josef Bacik
Date: Monday, November 8, 2010 - 5:42 am

On Mon, Nov 08, 2010 at 10:54:07AM +0800, Ian Kent wrote:

So we talked about this at plumbers.  First thing we need is a way to flip the
filesystem read only, that way we can deal with the simple corruption cases.
And then we can start looking at these harder cases where it's really unclear
about how to recover.

Thankfully because we're COW we really shouldn't have any cases that we have to
unwind anything, we just fail the operation and go on our happy merry way.  The
only tricky thing is where we get ENOMEM when say inserting the metadata for
data after writing out the data, since that will leave data just sitting around.
Probably should look at what NFS does with dirty pages when the server hangs up.
Thanks,

Josef 
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
On Removing BUG_ON macros, Yoshinori Sano, (Sun Nov 7, 12:16 am)
Re: On Removing BUG_ON macros, Josef Bacik, (Sun Nov 7, 7:51 am)
Re: On Removing BUG_ON macros, Ian Kent, (Sun Nov 7, 7:36 pm)
Re: On Removing BUG_ON macros, Ian Kent, (Sun Nov 7, 7:54 pm)
Re: On Removing BUG_ON macros, Josef Bacik, (Mon Nov 8, 5:42 am)
Re: On Removing BUG_ON macros, Yoshinori Sano, (Mon Nov 8, 6:17 am)
Re: On Removing BUG_ON macros, Josef Bacik, (Mon Nov 8, 6:28 am)
Re: On Removing BUG_ON macros, Ian Kent, (Mon Nov 8, 7:06 am)
Re: On Removing BUG_ON macros, Josef Bacik, (Mon Nov 8, 7:15 am)
Re: On Removing BUG_ON macros, Ian Kent, (Mon Nov 8, 8:02 am)
Re: On Removing BUG_ON macros, Yoshinori Sano, (Mon Nov 8, 4:02 pm)
Re: On Removing BUG_ON macros, Yoshinori Sano, (Mon Nov 8, 11:13 pm)
Re: On Removing BUG_ON macros, Ian Kent, (Wed Nov 10, 9:32 pm)
Re: On Removing BUG_ON macros, Josef Bacik, (Wed Dec 1, 11:31 am)