All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Mason <clm@fb.com>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>,
	<linux-btrfs@vger.kernel.org>
Subject: [GIT PULL] Btrfs
Date: Mon, 29 Jun 2015 17:11:50 -0400	[thread overview]
Message-ID: <20150629211150.GC23627@ret.masoncoding.com> (raw)

Hi Linus,

Please pull my for-linus-4.2 branch:

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

Outside of our usual batch of fixes, this integrates the subvolume quota
updates that Qu Wenruo from Fujitsu has been working on for a few
releases now.  He gets an extra gold star for making btrfs smaller this
time, and fixing a number of quota corners in the process.

Dave Sterba tested and integrated Anand Jain's sysfs improvements.
Outside of exporting a symbol (ack'd by Greg) these are all internal to
btrfs and it's mostly cleanups and fixes.  Anand also attached some of
our sysfs objects to our internal device management structs instead of
an object off the super block.  It will make device management easier
overall and it's a better fit for how the sysfs files are used.  None of
the existing sysfs files are moved around.

Thanks for all the fixes everyone:

Anand Jain (28) commits (+304/-115):
    Btrfs: sysfs: move super_kobj and device_dir_kobj from fs_info to btrfs_fs_devices (+56/-43)
    Btrfs: sysfs: fix, btrfs_release_super_kobj() should to clean up the kobject data (+2/-0)
    Btrfs: sysfs: introduce function btrfs_sysfs_add_fsid() to create sysfs fsid (+14/-1)
    Btrfs: sysfs: fix, fs_info kobject_unregister has init_completion() twice (+0/-1)
    Btrfs: sysfs btrfs_kobj_rm_device() pass fs_devices instead of fs_info (+10/-10)
    Btrfs: sysfs: rename __btrfs_sysfs_remove_one to btrfs_sysfs_remove_fsid (+4/-4)
    Btrfs: sysfs: fix, kobject pointer clean up needed after kobject release (+1/-0)
    Btrfs: sysfs btrfs_kobj_add_device() pass fs_devices instead of fs_info (+6/-7)
    Btrfs: sysfs: don't fail seeding for the sake of sysfs kobject issue (+1/-1)
    Btrfc: sysfs: fix, check if device_dir_kobj is init before destroy (+6/-4)
    Btrfs: sysfs: provide framework to remove all fsid sysfs kobject (+16/-1)
    Btrfs: sysfs: separate device kobject and its attribute creation (+15/-6)
    Btrfs: sysfs: add support to show replacing target in the sysfs (+7/-1)
    Btrfs: check error before reporting missing device and add uuid (+2/-1)
    Btrfs: sysfs: add pointer to access fs_info from fs_devices (+25/-0)
    Btrfs: sysfs: btrfs_sysfs_remove_fsid() make it non static (+2/-1)
    Btrfs: sysfs: let default_attrs be separate from the kset (+8/-4)
    Btrfs: sysfs: separate kobject and attribute creation (+19/-14)
    Btrfs: sysfs: make btrfs_sysfs_add_device() non static (+1/-0)
    Btrfs: sysfs: make btrfs_sysfs_add_fsid() non static (+3/-1)
    Btrfs: introduce btrfs_get_fs_uuids to get fs_uuids (+5/-0)
    Btrfs: Check if kobject is initialized before put (+5/-3)
    Btrfs: sysfs: add support to add parent for fsid (+2/-2)
    Btrfs: sysfs: reorder the kobject creations (+13/-10)
    Btrfs: sysfs: fix, undo sysfs device links (+17/-0)
    Btrfs: log when missing device is created (+2/-0)
    lib: export symbol kobject_move() (+1/-0)
    Btrfs: free the stale device (+61/-0)

Qu Wenruo (19) commits (+879/-1542):
    btrfs: extent-tree: Use ref_node to replace unneeded parameters in __inc_extent_ref() and __free_extent() (+21/-21)
    btrfs: qgroup: Make snapshot accounting work with new extent-oriented (+33/-20)
    btrfs: qgroup: Add the ability to skip given qgroup for old/new_roots. (+40/-0)
    btrfs: qgroup: Switch self test to extent-oriented qgroup mechanism. (+89/-27)
    btrfs: delayed-ref: Use list to replace the ref_root in ref_head. (+114/-123)
    btrfs: qgroup: Cleanup open-coded old/new_refcnt update and read. (+54/-41)
    btrfs: qgroup: Switch to new extent-oriented qgroup mechanism. (+28/-100)
    btrfs: qgroup: Record possible quota-related extent for qgroup. (+95/-7)
    btrfs: backref: Don't merge refs which are not for same block. (+3/-3)
    btrfs: qgroup: Cleanup the old ref_node-oriented mechanism. (+3/-972)
    btrfs: backref: Add special time_seq == (u64)-1 case for (+29/-6)
    btrfs: qgroup: Add function qgroup_update_counters(). (+120/-0)
    btrfs: qgroup: Add new function to record old_roots. (+29/-0)
    btrfs: delayed-ref: Cleanup the unneeded functions. (+0/-174)
    btrfs: qgroup: Add new qgroup calculation function (+118/-0)
    btrfs: qgroup: Add function qgroup_update_refcnt(). (+58/-0)
    btrfs: qgroup: Switch rescan to new mechanism. (+7/-36)
    btrfs: ulist: Add ulist_del() function. (+37/-11)
    btrfs: Fix superblock csum type check. (+1/-1)

Filipe Manana (14) commits (+340/-76):
    Btrfs: incremental send, check if orphanized dir inode needs delayed rename (+37/-19)
    Btrfs: fix necessary chunk tree space calculation when allocating a chunk (+7/-12)
    Btrfs: wake up extent state waiters on unlock through clear_extent_bits (+6/-1)
    Btrfs: incremental send, fix clone operations for compressed extents (+17/-1)
    Btrfs: incremental send, don't delay directory renames unnecessarily (+46/-2)
    Btrfs: fix chunk allocation regression leading to transaction abort (+19/-3)
    Btrfs: fix mutex unlock without prior lock on space cache truncation (+6/-8)
    Btrfs: avoid syncing log in the fast fsync path when not necessary (+23/-3)
    Btrfs: fix hang during inode eviction due to concurrent readahead (+21/-5)
    Btrfs: check pending chunks when shrinking fs to avoid corruption (+40/-9)
    Btrfs: don't attach unnecessary extents to transaction on fsync (+15/-1)
    Btrfs: fix block group ->space_info null pointer dereference (+23/-2)
    Btrfs: fix -ENOSPC when finishing block group creation (+50/-2)
    Btrfs: fix -ENOSPC on block group removal (+30/-8)

Omar Sandoval (7) commits (+257/-142):
    Btrfs: don't invalidate root dentry when subvolume deletion fails (+1/-3)
    Btrfs: fail on mismatched subvol and subvolid mount options (+25/-8)
    Btrfs: remove all subvol options before mounting top-level (+20/-36)
    Btrfs: lock superblock before remounting for rw subvol (+2/-0)
    Btrfs: clean up error handling in mount_subvol() (+33/-28)
    Btrfs: show subvol= and subvolid= in /proc/mounts (+5/-0)
    Btrfs: unify subvol= and subvolid= mounting (+171/-67)

David Sterba (5) commits (+36/-22):
    btrfs: add 'cold' compiler annotations to all error handling functions (+7/-0)
    btrfs: fix warnings after changes in btrfs_abort_transaction (+4/-4)
    btrfs: report exact callsite where transaction abort occurs (+9/-11)
    btrfs: make root id query unprivileged (+16/-4)
    btrfs: let tree defrag work in SSD mode (+0/-3)

Liu Bo (4) commits (+57/-46):
    Btrfs: fix up read_tree_block to return proper error (+54/-29)
    Btrfs: fix use-after-free in btrfs_replay_log (+2/-1)
    Btrfs: add missing free_extent_buffer (+1/-0)
    Btrfs: remove csum_bytes_left (+0/-16)

Zhao Lei (2) commits (+30/-3):
    btrfs: Fix lockdep warning of wr_ctx->wr_lock in scrub_free_wr_ctx() (+27/-3)
    btrfs: wait for delayed iputs on no space (+3/-0)

chandan (2) commits (+2/-2):
    Btrfs: btrfs_defrag_file: Fix calculation of max_to_defrag. (+1/-1)
    Btrfs: btrfs_defrag_file: Fix ra_index computation. (+1/-1)

Josef Bacik (2) commits (+23/-4):
    Btrfs: set UNWRITTEN for prealloc'ed extents in fiemap (+2/-0)
    Btrfs: use received_uuid of parent during send (+21/-4)

Sasha Levin (1) commits (+2/-2):
    btrfs: use after free when closing devices

Mark Fasheh (1) commits (+14/-6):
    btrfs: Handle unaligned length in extent_same

Christian Engelmayer (1) commits (+4/-4):
    btrfs: qgroup: Fix possible leak in btrfs_add_qgroup_relation()

Dan Carpenter (1) commits (+11/-9):
    btrfs: delayed-ref: double free in btrfs_add_delayed_tree_ref()

Total: (87) commits

 fs/btrfs/async-thread.c       |    1 +
 fs/btrfs/async-thread.h       |    2 +
 fs/btrfs/backref.c            |   59 ++-
 fs/btrfs/ctree.c              |   16 +-
 fs/btrfs/ctree.h              |   28 +-
 fs/btrfs/delayed-ref.c        |  372 +++++----------
 fs/btrfs/delayed-ref.h        |   29 +-
 fs/btrfs/dev-replace.c        |    7 +-
 fs/btrfs/disk-io.c            |   56 ++-
 fs/btrfs/extent-tree.c        |  308 ++++++------
 fs/btrfs/extent-tree.h        |    0
 fs/btrfs/extent_io.c          |    9 +-
 fs/btrfs/file.c               |    9 +-
 fs/btrfs/free-space-cache.c   |   14 +-
 fs/btrfs/inode.c              |   26 +-
 fs/btrfs/ioctl.c              |   50 +-
 fs/btrfs/ordered-data.c       |   37 +-
 fs/btrfs/ordered-data.h       |    6 +-
 fs/btrfs/qgroup.c             | 1052 +++++++++++------------------------------
 fs/btrfs/qgroup.h             |   61 +--
 fs/btrfs/relocation.c         |   19 +-
 fs/btrfs/scrub.c              |   26 +-
 fs/btrfs/send.c               |  147 +++++-
 fs/btrfs/super.c              |  397 ++++++++++------
 fs/btrfs/sysfs.c              |  148 ++++--
 fs/btrfs/sysfs.h              |    8 +-
 fs/btrfs/tests/qgroup-tests.c |  109 ++++-
 fs/btrfs/transaction.c        |   79 +++-
 fs/btrfs/transaction.h        |   24 +
 fs/btrfs/tree-defrag.c        |    3 -
 fs/btrfs/tree-log.c           |    6 -
 fs/btrfs/ulist.c              |   47 +-
 fs/btrfs/ulist.h              |    1 +
 fs/btrfs/volumes.c            |  186 +++++++-
 fs/btrfs/volumes.h            |    9 +
 fs/seq_file.c                 |    1 +
 include/trace/events/btrfs.h  |   55 ---
 lib/kobject.c                 |    1 +
 38 files changed, 1697 insertions(+), 1711 deletions(-)

             reply	other threads:[~2015-06-29 21:12 UTC|newest]

Thread overview: 128+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-29 21:11 Chris Mason [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-06-10 13:00 [GIT PULL] Btrfs Chris Mason
2017-05-09 17:56 Chris Mason
2017-05-09 18:01 ` Chris Mason
2017-04-28  0:26 Chris Mason
2017-04-14 18:28 Chris Mason
2017-03-31 21:05 Chris Mason
2017-03-23 15:09 Chris Mason
2017-03-02 20:19 Chris Mason
2017-02-25  0:56 Chris Mason
2017-02-11 13:18 Chris Mason
2017-01-27 19:37 Chris Mason
2016-12-16 17:01 Chris Mason
2016-11-04 17:28 Chris Mason
2016-10-28 14:08 Chris Mason
2016-10-14 20:31 Chris Mason
2016-10-11 15:46 Chris Mason
2016-09-23 20:01 Chris Mason
2016-09-09 17:46 Chris Mason
2016-09-03 13:54 Chris Mason
2016-08-26 23:36 Chris Mason
2016-08-10 12:10 Chris Mason
2016-08-04 19:12 Chris Mason
2016-07-31 13:55 Chris Mason
2016-06-18 13:01 Chris Mason
2016-06-10 20:01 Chris Mason
2016-06-03 20:57 Chris Mason
2016-05-27 17:44 Chris Mason
2016-05-21 14:18 Chris Mason
2016-04-08 20:43 Chris Mason
2016-04-01 22:45 Chris Mason
2016-03-22  0:24 Chris Mason
2016-03-22  1:16 ` Linus Torvalds
2016-03-22  2:15   ` Chris Mason
2016-03-22  2:24     ` Chris Mason
2016-03-22  2:38       ` Linus Torvalds
2016-03-04 18:51 Chris Mason
2016-02-19 19:08 Chris Mason
2016-02-12 16:43 Chris Mason
2016-01-29 18:42 Chris Mason
2016-01-22 16:34 Chris Mason
2016-01-17 23:30 Chris Mason
2016-01-18 10:25 ` Martin Steigerwald
2016-01-18 10:52   ` Holger Hoffstätte
2015-12-18 17:28 Chris Mason
2015-11-27 21:13 Chris Mason
2015-11-13 20:37 Chris Mason
2015-11-06 18:44 Chris Mason
2015-10-23 12:47 Chris Mason
2015-10-16 17:34 Chris Mason
2015-10-09 17:42 Chris Mason
2015-09-25 17:35 Chris Mason
2015-09-11 18:44 Chris Mason
2015-08-08 19:41 Chris Mason
2015-07-31 18:21 Chris Mason
2015-07-17 19:38 Chris Mason
2015-07-10 19:15 Chris Mason
2015-05-23  1:14 Chris Mason
2015-05-26 12:33 ` Josh Boyer
2015-05-26 12:54   ` Chris Mason
2015-06-02 14:02     ` Josh Boyer
2015-06-26 14:21       ` David Sterba
2015-03-06 21:45 Chris Mason
2015-02-26  2:01 Chris Mason
2015-02-19 20:36 Chris Mason
2015-02-20 10:09 ` Markus Trippelsdorf
2014-11-09  1:17 Chris Mason
2014-10-11  0:41 Chris Mason
2014-08-14 17:59 Chris Mason
2014-08-14 18:10 ` Linus Torvalds
2014-08-14 18:17   ` Chris Mason
2014-07-20 14:33 Chris Mason
2014-07-21  3:07 ` Duncan
2014-07-04 14:42 Chris Mason
2014-06-20 15:53 Chris Mason
2014-05-20 19:25 Chris Mason
2014-04-26 23:31 Chris Mason
2014-02-16 13:13 Chris Mason
2014-02-09 19:13 Chris Mason
2014-02-04 17:59 Chris Mason
2014-01-30 21:52 Chris Mason
2014-02-02  0:15 ` David Rientjes
2014-02-02  1:28   ` Filipe David Manana
2014-02-02  2:40     ` David Rientjes
2014-02-02  8:09     ` Chris Samuel
2014-02-03 17:54 ` David Sterba
2014-02-03 18:18   ` Chris Mason
2014-02-04 19:50     ` Greg KH
2014-02-04 19:52       ` Chris Mason
2013-12-12 21:57 Chris Mason
2013-11-21 18:35 Chris Mason
2013-11-15 15:19 Chris Mason
2013-11-15 16:11 ` Geert Uytterhoeven
2013-11-14 17:19 Chris Mason
2013-11-15 11:32 ` Heiko Carstens
2013-11-15 12:21   ` Chris Mason
2013-11-15 13:40     ` Chris Mason
2013-11-15 13:42       ` Geert Uytterhoeven
2013-11-15 14:57         ` Heiko Carstens
2013-11-17  9:36           ` Gleb Natapov
2013-11-18  9:35             ` Heiko Carstens
2013-11-18 10:30               ` Will Deacon
2013-10-18 23:24 Chris Mason
2013-10-12  1:01 Chris Mason
2013-10-05 17:36 Chris Mason
2013-09-22 20:50 Chris Mason
2013-09-12 15:36 Chris Mason
2013-09-12 20:38 ` Josh Boyer
2013-09-13  6:44   ` Geert Uytterhoeven
2013-09-13 11:53     ` Josh Boyer
2013-09-13 12:15       ` Russell King
2013-09-13 12:15         ` Russell King
2013-09-13 12:36         ` Geert Uytterhoeven
2013-09-13 15:06         ` Josh Boyer
2013-09-13 15:38           ` Josh Boyer
2013-09-13 15:58             ` Russell King
2013-09-14  9:33               ` Heiko Carstens
2013-09-13 13:07 ` Ric Wheeler
2013-09-13 14:11   ` Hugo Mills
2013-08-10 12:28 Chris Mason
2013-07-09 19:18 Chris Mason
2013-06-14  1:29 Chris Mason
2013-05-09 19:26 Chris Mason
2013-03-02 15:15 Chris Mason
2013-03-02 15:41 ` Liu Bo
2013-03-03  0:45 ` Linus Torvalds
2013-03-03  1:10   ` Chris Mason
2012-10-09 21:05 Chris Mason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150629211150.GC23627@ret.masoncoding.com \
    --to=clm@fb.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.