]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
Btrfs: don't call writepages from within write_full_page
authorJosef Bacik <josef@redhat.com>
Mon, 1 Aug 2011 18:37:36 +0000 (14:37 -0400)
committerChris Mason <chris.mason@oracle.com>
Mon, 1 Aug 2011 18:37:36 +0000 (14:37 -0400)
commit0d10ee2e6deb5c8409ae65b970846344897d5e4e
tree7072161df34ced133b41cc99e5f868bc8e55a018
parent341d14f161a475ebdbc9adff1f7e681e1185dee9
Btrfs: don't call writepages from within write_full_page

When doing a writepage we call writepages to try and write out any other dirty
pages in the area.  This could cause problems where we commit a transaction and
then have somebody else dirtying metadata in the area as we could end up writing
out a lot more than we care about, which could cause latency on anybody who is
waiting for the transaction to completely finish committing.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/extent_io.c