Hi everyone, The master branch of the btrfs unstable repo: git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable.git master Has a nice pile of btrfs fixes. Josef tackled a variety of DIO problems including latencies and crc errors. He also fixed a crash in the mount -o free_space_cache mode, and dramatically reduced contention on the journal mutex. Less contention means we finish up endio processing faster and we''re able to process delalloc much faster as space gets tight. Our ENOSPC fixes have returned. The cluster allocation code was sometimes getting out of hand and leaving us with a filesystem full of metadata chunks. Fujitsu continues a long series of error handling improvements and fixes, and Sergei Trofimovich fixed a memcpy vs memmove bug. I''ve removed a duplicate commit from the shortlog below. Josef and I both managed to take his iov_base fix. Git did the right thing and the resulting code is correct. Josef Bacik (10) commits (+224/-133): Btrfs: reuse the extent_map we found when calling btrfs_get_extent (+28/-8) Btrfs: do not call btrfs_update_inode in endio if nothing changed (+10/-5) Btrfs: deal with the case that we run out of space in the cache (+69/-74) Btrfs: avoid taking the trans_mutex in btrfs_end_transaction (+19/-24) Btrfs: check for duplicate iov_base''s when doing dio reads (+16/-1) Btrfs: avoid taking the chunk_mutex in do_chunk_alloc (+28/-6) Btrfs: map the inode item when doing fill_inode_item (+12/-0) Btrfs: do not use async submit for small DIO io''s (+19/-5) Btrfs: don''t split dio bios if we don''t have to (+13/-7) Btrfs: only retry transaction reservation once (+10/-1) Chris Mason (4) commits (+78/-29): Btrfs end_bio_extent_readpage should look for locked bits (+1/-1) Btrfs: don''t force chunk allocation in find_free_extent (+73/-22) Btrfs: make uncache_state unconditional (+3/-5) Btrfs: fix free space cache leak (+1/-1) Li Zefan (2) commits (+22/-39): Btrfs: Check if btrfs_next_leaf() returns error in btrfs_real_readdir() (+10/-18) Btrfs: Check if btrfs_next_leaf() returns error in btrfs_listxattr() (+12/-21) Miao Xie (2) commits (+8/-7): Btrfs: Fix incorrect inode nlink in btrfs_link() (+3/-3) Btrfs: Check validity before setting an acl (+5/-4) Sergei Trofimovich (1) commits (+11/-3): btrfs: properly handle overlapping areas in memmove_extent_buffer Yoshinori Sano (1) commits (+4/-1): Btrfs: fix memory leaks in btrfs_new_inode() Xin Zhong (1) commits (+33/-9): Btrfs: fix subvolume mount by name problem when default mount subvolume is set Daniel J Blueman (1) commits (+1/-1): fix user annotation in ioctl.c Arne Jansen (1) commits (+55/-19): btrfs: using cached extent_state in set/unlock combinations Total: (24) commits (+452/-240) fs/btrfs/acl.c | 9 ++- fs/btrfs/ctree.h | 9 ++- fs/btrfs/disk-io.c | 2 +- fs/btrfs/extent-tree.c | 125 +++++++++++++++++++++++++------- fs/btrfs/extent_io.c | 82 ++++++++++++++++----- fs/btrfs/extent_io.h | 2 +- fs/btrfs/file.c | 21 +++--- fs/btrfs/free-space-cache.c | 119 +++++++++++++++---------------- fs/btrfs/inode.c | 165 ++++++++++++++++++++++++++++++------------- fs/btrfs/ioctl.c | 2 +- fs/btrfs/super.c | 42 +++++++++--- fs/btrfs/transaction.c | 48 +++++++------ fs/btrfs/transaction.h | 4 +- fs/btrfs/xattr.c | 33 +++------ 14 files changed, 430 insertions(+), 233 deletions(-)
Hi everyone, The master branch of the btrfs unstable repo: git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable.git master Has a few bug fixes. Josef fixed up a crash in the free space cache error handling code, and it should close out the open bugs there. Li Zefan found a slab corruption in btrfs fitrim support. Otherwise, these are smaller fixes for corner cases. This is a separate pull from my plugging fixes because this is against 2.6.38, while the plugging stuff was on top of 2.6.39-rc4. David Sterba (1) commits (+1/-0): btrfs: add missing spin_unlock to a rare exit path Itaru Kitayama (1) commits (+1/-1): btrfs: fix wrong allocating flag when reading page Josef Bacik (2) commits (+8/-5): Btrfs: free bitmaps properly when evicting the cache (+7/-4) Btrfs: put the right bio if we have an error (+1/-1) Li Zefan (1) commits (+1/-1): Btrfs: Free free_space item properly in btrfs_trim_block_group() Tsutomu Itoh (3) commits (+21/-8): Btrfs: fix missing mutex_unlock in btrfs_del_dir_entries_in_log() (+5/-2) Btrfs: cleanup error handling in inode.c (+9/-6) Btrfs: check return value of kmalloc() (+7/-0) Total: (8) commits (+32/-15) fs/btrfs/disk-io.c | 1 + fs/btrfs/extent-tree.c | 4 ++++ fs/btrfs/extent_io.c | 2 +- fs/btrfs/free-space-cache.c | 13 ++++++++----- fs/btrfs/inode.c | 20 +++++++++++++------- fs/btrfs/tree-log.c | 7 +++++-- 6 files changed, 32 insertions(+), 15 deletions(-) -- 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
Hi everyone, The master branch of the btrfs unstable tree has a few more fixes: git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable.git master These include small fixes in the new per-file flags, an oops in the btrfs acl code and ENOSPC fixes for mixed block groups (used in very small filesystems). Li Zefan (3) commits (+15/-10): Btrfs: fix FS_IOC_SETFLAGS ioctl (+2/-0) Btrfs: fix FS_IOC_GETFLAGS ioctl (+7/-0) fs: remove FS_COW_FL (+6/-10) Daniel J Blueman (1) commits (+3/-2): Prevent oopsing in posix_acl_valid() liubo (1) commits (+26/-11): Btrfs: fix easily get into ENOSPC in mixed case Total: (5) commits (+44/-23) fs/btrfs/acl.c | 5 +++-- fs/btrfs/extent-tree.c | 37 ++++++++++++++++++++++++++----------- fs/btrfs/ioctl.c | 24 +++++++++++++++--------- include/linux/fs.h | 1 - 4 files changed, 44 insertions(+), 23 deletions(-)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Any plans to update the wiki ? https://btrfs.wiki.kernel.org/index.php/Changelog :P On 05/15/11 at 10:47am, Chris Mason wrote:> > Hi everyone, > > The master branch of the btrfs unstable tree has a few more fixes: > > git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-unstable.git master > > These include small fixes in the new per-file flags, an oops in > the btrfs acl code and ENOSPC fixes for mixed block groups (used in very > small filesystems). > > Li Zefan (3) commits (+15/-10): > Btrfs: fix FS_IOC_SETFLAGS ioctl (+2/-0) > Btrfs: fix FS_IOC_GETFLAGS ioctl (+7/-0) > fs: remove FS_COW_FL (+6/-10) > > Daniel J Blueman (1) commits (+3/-2): > Prevent oopsing in posix_acl_valid() > > liubo (1) commits (+26/-11): > Btrfs: fix easily get into ENOSPC in mixed case > > Total: (5) commits (+44/-23) > > fs/btrfs/acl.c | 5 +++-- > fs/btrfs/extent-tree.c | 37 ++++++++++++++++++++++++++----------- > fs/btrfs/ioctl.c | 24 +++++++++++++++--------- > include/linux/fs.h | 1 - > 4 files changed, 44 insertions(+), 23 deletions(-) > -- > 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 >-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJNz/RGAAoJEFWnpyuyLRXa6M8P/0Ev5byjWO7bRheomupHtUUe Oo4OVsQAN7dvD/GSfRCoCEnNEFAn70wNnARW4bPgWC8jvM5HSPx+fFc4u4URBS6q 3mZUEyB2XMsAKqrDiXuIHgsUFcCZWW9IwhS5q8vMJ6F5ZZR9lIVt1Uh8l9qghdNh 6pdohUCJ6gRQZyaY+P/Cv0eZJ1KdOcnmqL7PU8EMS/0OZWAgE/SMoYBuiX8qftTP jiNdxlIATgVeUA1r7Q7qaBiYQ4x76RuzINe5rtLK04Gg5eYZ1FPyrWZc12/347u3 soOcGKsKKRQ7WvSDnaK2ecz4r5XaeL7s5lnGFcfVlP+71qPpGe6i/JVQKR7+AZpN gBSbXAO/VkkW8mx2BbNNTx93LFkr962XyLzS44mzik4VzPdZ7QM5Bd3q2sWQfRKO ePHoHiH5ZeDsukLZw4cHKVbsHr1ZcaBn1vEqof047Sy79BlEuy0wLr1R7kG/FZMy S+y1gU3gku+3BMb+NuHJwWEFVx1zmAhp/r9fRdyOaHmgxdBsi0bDtCuYPoSxl68O 2m9WlJNxBkuMZ66UAYnhbX97x/WCOvNByLCTzFm25H1ISzHgF2z/pbuK2iz+OGG9 I+vDFX06LJcc/NTOx2dv86Wxaw2MsEOXNoBomIXvn2O+8IeltTLbxd/+8NGavMFc kw0DNwrL8tMx3M7nVfbD =OD9q -----END PGP SIGNATURE----- -- 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