linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Anand Jain <anand.jain@oracle.com>
To: David Sterba <dsterba@suse.com>, linux-btrfs@vger.kernel.org
Subject: Re: [PATCH 00/40] Parameter and type changes to btrfs_inode
Date: Thu, 3 Nov 2022 22:45:11 +0800	[thread overview]
Message-ID: <83f9021b-df26-a725-e0bf-4f255dd2ddff@oracle.com> (raw)
In-Reply-To: <cover.1667331828.git.dsterba@suse.com>

On 02/11/2022 04:11, David Sterba wrote:
> Many patches but also quite short, switching struct inode to struct
> btrfs_node for structures and related functions in the io path, removing
> some indirect function calls and typedefs.
> 
> David Sterba (40):
>    btrfs: change how repair action is passed to btrfs_repair_one_sector
>    btrfs: drop parameter compression_type from
>      btrfs_submit_dio_repair_bio
>    btrfs: change how submit bio callback is passed to btrfs_wq_submit_bio

[patch 04/40]
>    btrfs: simplify btree_submit_bio_start and btrfs_submit_bio_start
>      parameters

>    btrfs: switch async_submit_bio::inode to btrfs_inode
>    btrfs: pass btrfs_inode to btrfs_submit_bio_start
>    btrfs: pass btrfs_inode to btrfs_submit_bio_start_direct_io
>    btrfs: pass btrfs_inode to btrfs_wq_submit_bio
>    btrfs: pass btrfs_inode to btrfs_submit_metadata_bio
>    btrfs: pass btrfs_inode to btrfs_submit_data_write_bio
>    btrfs: pass btrfs_inode to btrfs_submit_data_read_bio
>    btrfs: pass btrfs_inode to btrfs_submit_dio_repair_bio
>    btrfs: pass btrfs_inode to submit_one_bio
>    btrfs: pass btrfs_inode to btrfs_repair_one_sector
>    btrfs: switch btrfs_dio_private::inode to btrfs_inode
>    btrfs: pass btrfs_inode to btrfs_submit_dio_bio
>    btrfs: pass btrfs_inode to btrfs_truncate
>    btrfs: pass btrfs_inode to btrfs_inode_lock
>    btrfs: pass btrfs_inode to btrfs_inode_unlock
>    btrfs: pass btrfs_inode to btrfs_dirty_inode
>    btrfs: pass btrfs_inode to btrfs_add_delalloc_inodes
>    btrfs: switch btrfs_writepage_fixup::inode to btrfs_inode
>    btrfs: pass btrfs_inode to btrfs_check_data_csum
>    btrfs: pass btrfs_inode to __unlink_start_trans
>    btrfs: pass btrfs_inode to btrfs_delete_subvolume
>    btrfs: drop private_data parameter from extent_io_tree_init
>    btrfs: switch extent_io_tree::private_data to btrfs_inode and rename
>    btrfs: pass btrfs_inode to btrfs_merge_delalloc_extent
>    btrfs: pass btrfs_inode to btrfs_set_delalloc_extent
>    btrfs: pass btrfs_inode to btrfs_split_delalloc_extent
>    btrfs: pass btrfs_inode to btrfs_clear_delalloc_extent
>    btrfs: pass btrfs_inode to btrfs_unlink_subvol
>    btrfs: pass btrfs_inode to btrfs_inode_by_name
>    btrfs: pass btrfs_inode to fixup_tree_root_location
>    btrfs: pass btrfs_inode to inode_tree_add
>    btrfs: pass btrfs_inode to btrfs_inherit_iflags
>    btrfs: switch async_chunk::inode to btrfs_inode
>    btrfs: use btrfs_inode inside compress_file_range
>    btrfs: use btrfs_inode inside btrfs_verify_data_csum
>    btrfs: pass btrfs_inode to btrfs_add_delayed_iput


  With patch 04/40 fixed.

  Reviewed-by: Anand Jain <anand.jain@oracle.com>

  For the series.

  Just a note, the naming convention for the local variables... as inode
  represents struct btrfs_inode, we shouldn't use the same name for
  struct inode. Instead, vfs_inode is better. And binode is gone.

Thanks, Anand

>   fs/btrfs/btrfs_inode.h           |  29 +-
>   fs/btrfs/compression.c           |   6 +-
>   fs/btrfs/defrag.c                |  12 +-
>   fs/btrfs/delayed-inode.c         |   4 +-
>   fs/btrfs/disk-io.c               |  52 ++--
>   fs/btrfs/disk-io.h               |  15 +-
>   fs/btrfs/extent-io-tree.c        |  35 ++-
>   fs/btrfs/extent-io-tree.h        |   6 +-
>   fs/btrfs/extent_io.c             |  35 +--
>   fs/btrfs/extent_io.h             |  11 +-
>   fs/btrfs/file.c                  |  48 ++--
>   fs/btrfs/free-space-cache.c      |   4 +-
>   fs/btrfs/inode.c                 | 445 +++++++++++++++----------------
>   fs/btrfs/ioctl.c                 |  10 +-
>   fs/btrfs/ordered-data.c          |   2 +-
>   fs/btrfs/reflink.c               |   4 +-
>   fs/btrfs/relocation.c            |  11 +-
>   fs/btrfs/tests/btrfs-tests.c     |   2 +-
>   fs/btrfs/tests/extent-io-tests.c |   4 +-
>   fs/btrfs/transaction.c           |   4 +-
>   fs/btrfs/tree-log.c              |  24 +-
>   fs/btrfs/volumes.c               |   3 +-
>   include/trace/events/btrfs.h     |  27 +-
>   23 files changed, 393 insertions(+), 400 deletions(-)
> 


  parent reply	other threads:[~2022-11-03 14:45 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-01 20:11 [PATCH 00/40] Parameter and type changes to btrfs_inode David Sterba
2022-11-01 20:11 ` [PATCH 01/40] btrfs: change how repair action is passed to btrfs_repair_one_sector David Sterba
2022-11-01 20:11 ` [PATCH 02/40] btrfs: drop parameter compression_type from btrfs_submit_dio_repair_bio David Sterba
2022-11-01 20:11 ` [PATCH 03/40] btrfs: change how submit bio callback is passed to btrfs_wq_submit_bio David Sterba
2022-11-01 20:11 ` [PATCH 04/40] btrfs: simplify btree_submit_bio_start and btrfs_submit_bio_start parameters David Sterba
2022-11-02  0:12   ` Anand Jain
2022-11-03 13:28     ` David Sterba
2022-11-03 14:34       ` Anand Jain
2022-11-01 20:11 ` [PATCH 05/40] btrfs: switch async_submit_bio::inode to btrfs_inode David Sterba
2022-11-01 20:11 ` [PATCH 06/40] btrfs: pass btrfs_inode to btrfs_submit_bio_start David Sterba
2022-11-01 20:11 ` [PATCH 07/40] btrfs: pass btrfs_inode to btrfs_submit_bio_start_direct_io David Sterba
2022-11-01 20:11 ` [PATCH 08/40] btrfs: pass btrfs_inode to btrfs_wq_submit_bio David Sterba
2022-11-01 20:11 ` [PATCH 09/40] btrfs: pass btrfs_inode to btrfs_submit_metadata_bio David Sterba
2022-11-01 20:12 ` [PATCH 10/40] btrfs: pass btrfs_inode to btrfs_submit_data_write_bio David Sterba
2022-11-01 20:12 ` [PATCH 11/40] btrfs: pass btrfs_inode to btrfs_submit_data_read_bio David Sterba
2022-11-01 20:12 ` [PATCH 12/40] btrfs: pass btrfs_inode to btrfs_submit_dio_repair_bio David Sterba
2022-11-01 20:12 ` [PATCH 13/40] btrfs: pass btrfs_inode to submit_one_bio David Sterba
2022-11-01 20:12 ` [PATCH 14/40] btrfs: pass btrfs_inode to btrfs_repair_one_sector David Sterba
2022-11-01 20:12 ` [PATCH 15/40] btrfs: switch btrfs_dio_private::inode to btrfs_inode David Sterba
2022-11-01 20:12 ` [PATCH 16/40] btrfs: pass btrfs_inode to btrfs_submit_dio_bio David Sterba
2022-11-01 20:12 ` [PATCH 17/40] btrfs: pass btrfs_inode to btrfs_truncate David Sterba
2022-11-01 20:12 ` [PATCH 18/40] btrfs: pass btrfs_inode to btrfs_inode_lock David Sterba
2022-11-01 20:12 ` [PATCH 19/40] btrfs: pass btrfs_inode to btrfs_inode_unlock David Sterba
2022-11-01 20:12 ` [PATCH 20/40] btrfs: pass btrfs_inode to btrfs_dirty_inode David Sterba
2022-11-01 20:12 ` [PATCH 21/40] btrfs: pass btrfs_inode to btrfs_add_delalloc_inodes David Sterba
2022-11-01 20:12 ` [PATCH 22/40] btrfs: switch btrfs_writepage_fixup::inode to btrfs_inode David Sterba
2022-11-01 20:12 ` [PATCH 23/40] btrfs: pass btrfs_inode to btrfs_check_data_csum David Sterba
2022-11-01 20:12 ` [PATCH 24/40] btrfs: pass btrfs_inode to __unlink_start_trans David Sterba
2022-11-01 20:12 ` [PATCH 25/40] btrfs: pass btrfs_inode to btrfs_delete_subvolume David Sterba
2022-11-01 20:12 ` [PATCH 26/40] btrfs: drop private_data parameter from extent_io_tree_init David Sterba
2022-11-01 20:12 ` [PATCH 27/40] btrfs: switch extent_io_tree::private_data to btrfs_inode and rename David Sterba
2022-11-01 20:12 ` [PATCH 28/40] btrfs: pass btrfs_inode to btrfs_merge_delalloc_extent David Sterba
2022-11-01 20:12 ` [PATCH 29/40] btrfs: pass btrfs_inode to btrfs_set_delalloc_extent David Sterba
2022-11-01 20:12 ` [PATCH 30/40] btrfs: pass btrfs_inode to btrfs_split_delalloc_extent David Sterba
2022-11-01 20:12 ` [PATCH 31/40] btrfs: pass btrfs_inode to btrfs_clear_delalloc_extent David Sterba
2022-11-01 20:12 ` [PATCH 32/40] btrfs: pass btrfs_inode to btrfs_unlink_subvol David Sterba
2022-11-01 20:12 ` [PATCH 33/40] btrfs: pass btrfs_inode to btrfs_inode_by_name David Sterba
2022-11-01 20:12 ` [PATCH 34/40] btrfs: pass btrfs_inode to fixup_tree_root_location David Sterba
2022-11-01 20:12 ` [PATCH 35/40] btrfs: pass btrfs_inode to inode_tree_add David Sterba
2022-11-01 20:12 ` [PATCH 36/40] btrfs: pass btrfs_inode to btrfs_inherit_iflags David Sterba
2022-11-01 20:13 ` [PATCH 37/40] btrfs: switch async_chunk::inode to btrfs_inode David Sterba
2022-11-01 20:13 ` [PATCH 38/40] btrfs: use btrfs_inode inside compress_file_range David Sterba
2022-11-01 20:13 ` [PATCH 39/40] btrfs: use btrfs_inode inside btrfs_verify_data_csum David Sterba
2022-11-01 20:13 ` [PATCH 40/40] btrfs: pass btrfs_inode to btrfs_add_delayed_iput David Sterba
2022-11-03 14:45 ` Anand Jain [this message]
2022-11-11 15:40   ` [PATCH 00/40] Parameter and type changes to btrfs_inode David Sterba

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=83f9021b-df26-a725-e0bf-4f255dd2ddff@oracle.com \
    --to=anand.jain@oracle.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).