]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Btrfs: Use async helpers to deal with pages that have been improperly dirtied
authorChris Mason <chris.mason@oracle.com>
Thu, 17 Jul 2008 16:53:51 +0000 (12:53 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:04 +0000 (11:04 -0400)
commit247e743cbe6e655768c3679f84821e03c1577902
treeedc2b27284365f019859a936885bd100960eb659
parente6dcd2dc9c489108648e2ed543315dd134d50a9a
Btrfs: Use async helpers to deal with pages that have been improperly dirtied

Higher layers sometimes call set_page_dirty without asking the filesystem
to help.  This causes many problems for the data=ordered and cow code.
This commit detects pages that haven't been properly setup for IO and
kicks off an async helper to deal with them.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/file.c
fs/btrfs/inode.c