[GIT PULL] Btrfs updates

From: Chris Mason
Date: Fri Mar 29 2013 - 13:47:15 EST


Hi Linus,

Please pull my for-linus branch:

git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus

We've had a busy two weeks of bug fixing. The biggest patches in here
are some long standing early-enospc problems (Josef) and a very old race
where compression and mmap combine forces to lose writes (me). I'm
fairly sure the mmap bug goes all the way back to the introduction of
the compression code, which is proof that fsx doesn't trigger every
possible mmap corner after all.

I'm sure you'll notice one of these is from this morning, it's a small
and isolated use-after-free fix in our scrub error reporting. I double
checked it here.

Josef Bacik (6) commits (+90/-18):
Btrfs: hold the ordered operations mutex when waiting on ordered extents (+2/-0)
Btrfs: don't drop path when printing out tree errors in scrub (+2/-1)
Btrfs: fix space leak when we fail to reserve metadata space (+41/-6)
Btrfs: fix space accounting for unlink and rename (+2/-4)
Btrfs: limit the global reserve to 512mb (+1/-1)
Btrfs: handle a bogus chunk tree nicely (+42/-6)

Jan Schmidt (2) commits (+24/-16):
Btrfs: fix EIO from btrfs send in is_extent_unchanged for punched holes (+4/-6)
Btrfs: fix locking on ROOT_REPLACE operations in tree mod log (+20/-10)

Wang Shilong (2) commits (+10/-2):
Btrfs: fix double free in the btrfs_qgroup_account_ref() (+1/-2)
Btrfs: fix missing qgroup reservation before fallocating (+9/-0)

Miao Xie (2) commits (+5/-3):
Btrfs: fix wrong return value of btrfs_lookup_csum() (+3/-1)
Btrfs: fix wrong reservation of csums (+2/-2)

Chris Mason (1) commits (+49/-0):
Btrfs: fix race between mmap writes and compression

Liu Bo (1) commits (+1/-1):
Btrfs: update to use fs_state bit

Tsutomu Itoh (1) commits (+9/-3):
Btrfs: fix memory leak in btrfs_create_tree()

Total: (15) commits

fs/btrfs/ctree.c | 30 ++++++++++++------
fs/btrfs/disk-io.c | 14 ++++++---
fs/btrfs/extent-tree.c | 84 ++++++++++++++++++++++++++++++++++++++++++-------
fs/btrfs/extent_io.c | 33 +++++++++++++++++++
fs/btrfs/extent_io.h | 2 ++
fs/btrfs/file-item.c | 6 ++--
fs/btrfs/file.c | 9 ++++++
fs/btrfs/inode.c | 22 ++++++++++---
fs/btrfs/ordered-data.c | 2 ++
fs/btrfs/qgroup.c | 3 +-
fs/btrfs/scrub.c | 3 +-
fs/btrfs/send.c | 10 +++---
fs/btrfs/volumes.c | 13 +++++++-
13 files changed, 188 insertions(+), 43 deletions(-)
--
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/