All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Tree and inode lookup cleanups
@ 2020-05-15 17:35 David Sterba
  2020-05-15 17:35 ` [PATCH 1/3] btrfs: simplify root lookup by id David Sterba
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Sterba @ 2020-05-15 17:35 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

Simplify functions that take struct key for lookup but don't use all the
members. Reduces size of .ko by about 1.2K and stack consumption is
reduced by 450 bytes in total.

David Sterba (3):
  btrfs: simplify root lookup by id
  btrfs: open code read_fs_root
  btrfs: simplify iget helpers

 fs/btrfs/backref.c          | 13 ++---------
 fs/btrfs/ctree.h            |  5 ++--
 fs/btrfs/disk-io.c          | 35 +++++++++++++---------------
 fs/btrfs/disk-io.h          |  3 +--
 fs/btrfs/export.c           | 17 +++-----------
 fs/btrfs/file.c             | 12 ++--------
 fs/btrfs/free-space-cache.c |  2 +-
 fs/btrfs/inode.c            | 42 +++++++++++++++++----------------
 fs/btrfs/ioctl.c            | 30 ++++++------------------
 fs/btrfs/props.c            |  9 ++------
 fs/btrfs/relocation.c       | 46 +++++++++++--------------------------
 fs/btrfs/root-tree.c        | 12 ++++------
 fs/btrfs/scrub.c            |  6 +----
 fs/btrfs/send.c             | 22 ++++--------------
 fs/btrfs/super.c            | 11 ++-------
 fs/btrfs/transaction.c      |  2 +-
 fs/btrfs/tree-log.c         | 32 ++++++++++----------------
 fs/btrfs/uuid-tree.c        |  6 +----
 18 files changed, 99 insertions(+), 206 deletions(-)

-- 
2.25.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-05-15 17:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-15 17:35 [PATCH 0/3] Tree and inode lookup cleanups David Sterba
2020-05-15 17:35 ` [PATCH 1/3] btrfs: simplify root lookup by id David Sterba
2020-05-15 17:35 ` [PATCH 2/3] btrfs: open code read_fs_root David Sterba
2020-05-15 17:35 ` [PATCH 3/3] btrfs: simplify iget helpers David Sterba

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.