Home
last modified time | relevance | path

Searched hist:"784 b4e29" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/btrfs/
H A Ddisk-io.c784b4e29 Sun Nov 21 21:20:49 CST 2010 Chris Mason <chris.mason@oracle.com> Btrfs: add migrate page for metadata inode

Migrate page will directly call the btrfs btree writepage function,
which isn't actually allowed.

Our writepage assumes that you have locked the extent_buffer and
flagged the block as written. Without doing these steps, we can
corrupt metadata blocks.

A later commit will remove the btree writepage function since
it is really only safely used internally by btrfs. We
use writepages for everything else.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
784b4e29 Sun Nov 21 21:20:49 CST 2010 Chris Mason <chris.mason@oracle.com> Btrfs: add migrate page for metadata inode

Migrate page will directly call the btrfs btree writepage function,
which isn't actually allowed.

Our writepage assumes that you have locked the extent_buffer and
flagged the block as written. Without doing these steps, we can
corrupt metadata blocks.

A later commit will remove the btree writepage function since
it is really only safely used internally by btrfs. We
use writepages for everything else.

Signed-off-by: Chris Mason <chris.mason@oracle.com>