linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nikolay Borisov <nborisov@suse.com>
To: David Sterba <dsterba@suse.com>, linux-btrfs@vger.kernel.org
Subject: Re: [PATCH 0/7] Structure and callback cleanups
Date: Thu, 19 Jul 2018 15:04:16 +0300	[thread overview]
Message-ID: <aab413e4-b3ab-e3d2-3d09-6572f9c6fbd5@suse.com> (raw)
In-Reply-To: <cover.1531996240.git.dsterba@suse.com>



On 19.07.2018 14:05, David Sterba wrote:
> A handful of removed structure members that are not used,
> async_submit_bio is down by 16 bytes and async_cow by 8.
> 
> Some of the extent_io_ops callbacks are unnecessarily called indirectly.
> The rest of extent_io_ops is going to be transformed in following
> series.
> 
> David Sterba (7):
>   btrfs: remove unused member async_submit_bio::fs_info
>   btrfs: remove unused member async_submit_bio::bio_flags
>   btrfs: remove redundant member async_cow::root
>   btrfs: unify end_io callbacks of async_submit_bio
>   btrfs: drop extent_io_ops::tree_fs_info callback
>   btrfs: drop extent_io_ops::merge_bio_hook callback
>   btrfs: drop extent_io_ops::set_range_writeback callback
> 
>  fs/btrfs/compression.c | 10 +++-------
>  fs/btrfs/ctree.h       |  2 +-
>  fs/btrfs/disk-io.c     | 42 +++---------------------------------------
>  fs/btrfs/disk-io.h     |  5 +++--
>  fs/btrfs/extent_io.c   | 28 +++++++---------------------
>  fs/btrfs/extent_io.h   |  8 --------
>  fs/btrfs/inode.c       | 32 ++++++++------------------------
>  7 files changed, 25 insertions(+), 102 deletions(-)
> 

For the whole series (apart from my comments on 6/7):

Reviewed-by: Nikolay Borisov <nborisov@suse.com>

I'm guessing this will alleviate some of the performance hit stemming
from  spectre/meltdown mitigations.

      parent reply	other threads:[~2018-07-19 12:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-19 11:05 [PATCH 0/7] Structure and callback cleanups David Sterba
2018-07-19 11:05 ` [PATCH 1/7] btrfs: remove unused member async_submit_bio::fs_info David Sterba
2018-07-19 11:05 ` [PATCH 2/7] btrfs: remove unused member async_submit_bio::bio_flags David Sterba
2018-07-19 11:05 ` [PATCH 3/7] btrfs: remove redundant member async_cow::root David Sterba
2018-07-20 14:59   ` David Sterba
2018-07-19 11:05 ` [PATCH 4/7] btrfs: unify end_io callbacks of async_submit_bio David Sterba
2018-07-19 11:05 ` [PATCH 5/7] btrfs: drop extent_io_ops::tree_fs_info callback David Sterba
2018-07-19 11:05 ` [PATCH 6/7] btrfs: drop extent_io_ops::merge_bio_hook callback David Sterba
2018-07-19 12:02   ` Nikolay Borisov
2018-07-19 12:48     ` David Sterba
2018-07-19 11:05 ` [PATCH 7/7] btrfs: drop extent_io_ops::set_range_writeback callback David Sterba
2018-07-19 12:04 ` Nikolay Borisov [this message]

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=aab413e4-b3ab-e3d2-3d09-6572f9c6fbd5@suse.com \
    --to=nborisov@suse.com \
    --cc=dsterba@suse.com \
    --cc=linux-btrfs@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).