From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: Christoph Hellwig <hch@lst.de>
Cc: linux-xfs@vger.kernel.org
Subject: Re: [PATCH 22/34] xfs: devirtualize ->sf_get_ftype and ->sf_put_ftype
Date: Mon, 4 Nov 2019 12:34:09 -0800 [thread overview]
Message-ID: <20191104203409.GX4153244@magnolia> (raw)
In-Reply-To: <20191101220719.29100-23-hch@lst.de>
On Fri, Nov 01, 2019 at 03:07:07PM -0700, Christoph Hellwig wrote:
> Replace the ->sf_get_ftype and ->sf_put_ftype dir ops methods with
> directly called xfs_dir2_sf_get_ftype and xfs_dir2_sf_put_ftype helpers
> that takes care of the differences between the directory format with and
> without the file type field.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
Seems reasonable to me,
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
--D
> ---
> fs/xfs/libxfs/xfs_da_format.c | 52 -----------------------------
> fs/xfs/libxfs/xfs_dir2.h | 4 ---
> fs/xfs/libxfs/xfs_dir2_block.c | 2 +-
> fs/xfs/libxfs/xfs_dir2_priv.h | 2 ++
> fs/xfs/libxfs/xfs_dir2_sf.c | 60 ++++++++++++++++++++++++++--------
> fs/xfs/xfs_dir2_readdir.c | 2 +-
> 6 files changed, 50 insertions(+), 72 deletions(-)
>
> diff --git a/fs/xfs/libxfs/xfs_da_format.c b/fs/xfs/libxfs/xfs_da_format.c
> index f427f141d001..1c72b46344d6 100644
> --- a/fs/xfs/libxfs/xfs_da_format.c
> +++ b/fs/xfs/libxfs/xfs_da_format.c
> @@ -15,49 +15,6 @@
> #include "xfs_dir2.h"
> #include "xfs_dir2_priv.h"
>
> -/*
> - * For filetype enabled shortform directories, the file type field is stored at
> - * the end of the name. Because it's only a single byte, endian conversion is
> - * not necessary. For non-filetype enable directories, the type is always
> - * unknown and we never store the value.
> - */
> -static uint8_t
> -xfs_dir2_sfe_get_ftype(
> - struct xfs_dir2_sf_entry *sfep)
> -{
> - return XFS_DIR3_FT_UNKNOWN;
> -}
> -
> -static void
> -xfs_dir2_sfe_put_ftype(
> - struct xfs_dir2_sf_entry *sfep,
> - uint8_t ftype)
> -{
> - ASSERT(ftype < XFS_DIR3_FT_MAX);
> -}
> -
> -static uint8_t
> -xfs_dir3_sfe_get_ftype(
> - struct xfs_dir2_sf_entry *sfep)
> -{
> - uint8_t ftype;
> -
> - ftype = sfep->name[sfep->namelen];
> - if (ftype >= XFS_DIR3_FT_MAX)
> - return XFS_DIR3_FT_UNKNOWN;
> - return ftype;
> -}
> -
> -static void
> -xfs_dir3_sfe_put_ftype(
> - struct xfs_dir2_sf_entry *sfep,
> - uint8_t ftype)
> -{
> - ASSERT(ftype < XFS_DIR3_FT_MAX);
> -
> - sfep->name[sfep->namelen] = ftype;
> -}
> -
> /*
> * Directory data block operations
> */
> @@ -271,9 +228,6 @@ xfs_dir3_data_unused_p(struct xfs_dir2_data_hdr *hdr)
> }
>
> static const struct xfs_dir_ops xfs_dir2_ops = {
> - .sf_get_ftype = xfs_dir2_sfe_get_ftype,
> - .sf_put_ftype = xfs_dir2_sfe_put_ftype,
> -
> .data_entsize = xfs_dir2_data_entsize,
> .data_get_ftype = xfs_dir2_data_get_ftype,
> .data_put_ftype = xfs_dir2_data_put_ftype,
> @@ -296,9 +250,6 @@ static const struct xfs_dir_ops xfs_dir2_ops = {
> };
>
> static const struct xfs_dir_ops xfs_dir2_ftype_ops = {
> - .sf_get_ftype = xfs_dir3_sfe_get_ftype,
> - .sf_put_ftype = xfs_dir3_sfe_put_ftype,
> -
> .data_entsize = xfs_dir3_data_entsize,
> .data_get_ftype = xfs_dir3_data_get_ftype,
> .data_put_ftype = xfs_dir3_data_put_ftype,
> @@ -321,9 +272,6 @@ static const struct xfs_dir_ops xfs_dir2_ftype_ops = {
> };
>
> static const struct xfs_dir_ops xfs_dir3_ops = {
> - .sf_get_ftype = xfs_dir3_sfe_get_ftype,
> - .sf_put_ftype = xfs_dir3_sfe_put_ftype,
> -
> .data_entsize = xfs_dir3_data_entsize,
> .data_get_ftype = xfs_dir3_data_get_ftype,
> .data_put_ftype = xfs_dir3_data_put_ftype,
> diff --git a/fs/xfs/libxfs/xfs_dir2.h b/fs/xfs/libxfs/xfs_dir2.h
> index 049d844d6a18..61cc9ae837d5 100644
> --- a/fs/xfs/libxfs/xfs_dir2.h
> +++ b/fs/xfs/libxfs/xfs_dir2.h
> @@ -32,10 +32,6 @@ extern unsigned char xfs_mode_to_ftype(int mode);
> * directory operations vector for encode/decode routines
> */
> struct xfs_dir_ops {
> - uint8_t (*sf_get_ftype)(struct xfs_dir2_sf_entry *sfep);
> - void (*sf_put_ftype)(struct xfs_dir2_sf_entry *sfep,
> - uint8_t ftype);
> -
> int (*data_entsize)(int len);
> uint8_t (*data_get_ftype)(struct xfs_dir2_data_entry *dep);
> void (*data_put_ftype)(struct xfs_dir2_data_entry *dep,
> diff --git a/fs/xfs/libxfs/xfs_dir2_block.c b/fs/xfs/libxfs/xfs_dir2_block.c
> index 0f3024386a5c..5877272dc63e 100644
> --- a/fs/xfs/libxfs/xfs_dir2_block.c
> +++ b/fs/xfs/libxfs/xfs_dir2_block.c
> @@ -1216,7 +1216,7 @@ xfs_dir2_sf_to_block(
> dep = (xfs_dir2_data_entry_t *)((char *)hdr + newoffset);
> dep->inumber = cpu_to_be64(xfs_dir2_sf_get_ino(mp, sfp, sfep));
> dep->namelen = sfep->namelen;
> - dp->d_ops->data_put_ftype(dep, dp->d_ops->sf_get_ftype(sfep));
> + dp->d_ops->data_put_ftype(dep, xfs_dir2_sf_get_ftype(mp, sfep));
> memcpy(dep->name, sfep->name, dep->namelen);
> tagp = dp->d_ops->data_entry_tag_p(dep);
> *tagp = cpu_to_be16((char *)dep - (char *)hdr);
> diff --git a/fs/xfs/libxfs/xfs_dir2_priv.h b/fs/xfs/libxfs/xfs_dir2_priv.h
> index 57c0f7aee7a4..a92d9f0f83e0 100644
> --- a/fs/xfs/libxfs/xfs_dir2_priv.h
> +++ b/fs/xfs/libxfs/xfs_dir2_priv.h
> @@ -139,6 +139,8 @@ xfs_ino_t xfs_dir2_sf_get_ino(struct xfs_mount *mp, struct xfs_dir2_sf_hdr *hdr,
> struct xfs_dir2_sf_entry *sfep);
> xfs_ino_t xfs_dir2_sf_get_parent_ino(struct xfs_dir2_sf_hdr *hdr);
> void xfs_dir2_sf_put_parent_ino(struct xfs_dir2_sf_hdr *hdr, xfs_ino_t ino);
> +uint8_t xfs_dir2_sf_get_ftype(struct xfs_mount *mp,
> + struct xfs_dir2_sf_entry *sfep);
> struct xfs_dir2_sf_entry *xfs_dir2_sf_nextentry(struct xfs_mount *mp,
> struct xfs_dir2_sf_hdr *hdr, struct xfs_dir2_sf_entry *sfep);
> extern int xfs_dir2_block_sfsize(struct xfs_inode *dp,
> diff --git a/fs/xfs/libxfs/xfs_dir2_sf.c b/fs/xfs/libxfs/xfs_dir2_sf.c
> index c33d838b1a5c..10199261c94c 100644
> --- a/fs/xfs/libxfs/xfs_dir2_sf.c
> +++ b/fs/xfs/libxfs/xfs_dir2_sf.c
> @@ -126,6 +126,37 @@ xfs_dir2_sf_put_parent_ino(
> put_unaligned_be32(ino, hdr->parent);
> }
>
> +/*
> + * The file type field is stored at the end of the name for filetype enabled
> + * shortform directories, or not at all otherwise.
> + */
> +uint8_t
> +xfs_dir2_sf_get_ftype(
> + struct xfs_mount *mp,
> + struct xfs_dir2_sf_entry *sfep)
> +{
> + if (xfs_sb_version_hasftype(&mp->m_sb)) {
> + uint8_t ftype = sfep->name[sfep->namelen];
> +
> + if (ftype < XFS_DIR3_FT_MAX)
> + return ftype;
> + }
> +
> + return XFS_DIR3_FT_UNKNOWN;
> +}
> +
> +static void
> +xfs_dir2_sf_put_ftype(
> + struct xfs_mount *mp,
> + struct xfs_dir2_sf_entry *sfep,
> + uint8_t ftype)
> +{
> + ASSERT(ftype < XFS_DIR3_FT_MAX);
> +
> + if (xfs_sb_version_hasftype(&mp->m_sb))
> + sfep->name[sfep->namelen] = ftype;
> +}
> +
> /*
> * Given a block directory (dp/block), calculate its size as a shortform (sf)
> * directory and a header for the sf directory, if it will fit it the
> @@ -305,7 +336,7 @@ xfs_dir2_block_to_sf(
> memcpy(sfep->name, dep->name, dep->namelen);
> xfs_dir2_sf_put_ino(mp, sfp, sfep,
> be64_to_cpu(dep->inumber));
> - dp->d_ops->sf_put_ftype(sfep,
> + xfs_dir2_sf_put_ftype(mp, sfep,
> dp->d_ops->data_get_ftype(dep));
>
> sfep = xfs_dir2_sf_nextentry(mp, sfp, sfep);
> @@ -477,7 +508,7 @@ xfs_dir2_sf_addname_easy(
> xfs_dir2_sf_put_offset(sfep, offset);
> memcpy(sfep->name, args->name, sfep->namelen);
> xfs_dir2_sf_put_ino(mp, sfp, sfep, args->inumber);
> - dp->d_ops->sf_put_ftype(sfep, args->filetype);
> + xfs_dir2_sf_put_ftype(mp, sfep, args->filetype);
>
> /*
> * Update the header and inode.
> @@ -567,7 +598,7 @@ xfs_dir2_sf_addname_hard(
> xfs_dir2_sf_put_offset(sfep, offset);
> memcpy(sfep->name, args->name, sfep->namelen);
> xfs_dir2_sf_put_ino(mp, sfp, sfep, args->inumber);
> - dp->d_ops->sf_put_ftype(sfep, args->filetype);
> + xfs_dir2_sf_put_ftype(mp, sfep, args->filetype);
> sfp->count++;
> if (args->inumber > XFS_DIR2_MAX_SHORT_INUM && !objchange)
> sfp->i8count++;
> @@ -664,7 +695,8 @@ static void
> xfs_dir2_sf_check(
> xfs_da_args_t *args) /* operation arguments */
> {
> - xfs_inode_t *dp; /* incore directory inode */
> + struct xfs_inode *dp = args->dp;
> + struct xfs_mount *mp = dp->i_mount;
> int i; /* entry number */
> int i8count; /* number of big inode#s */
> xfs_ino_t ino; /* entry inode number */
> @@ -672,8 +704,6 @@ xfs_dir2_sf_check(
> xfs_dir2_sf_entry_t *sfep; /* shortform dir entry */
> xfs_dir2_sf_hdr_t *sfp; /* shortform structure */
>
> - dp = args->dp;
> -
> sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data;
> offset = dp->d_ops->data_first_offset;
> ino = xfs_dir2_sf_get_parent_ino(sfp);
> @@ -681,14 +711,14 @@ xfs_dir2_sf_check(
>
> for (i = 0, sfep = xfs_dir2_sf_firstentry(sfp);
> i < sfp->count;
> - i++, sfep = xfs_dir2_sf_nextentry(dp->i_mount, sfp, sfep)) {
> + i++, sfep = xfs_dir2_sf_nextentry(mp, sfp, sfep)) {
> ASSERT(xfs_dir2_sf_get_offset(sfep) >= offset);
> - ino = xfs_dir2_sf_get_ino(dp->i_mount, sfp, sfep);
> + ino = xfs_dir2_sf_get_ino(mp, sfp, sfep);
> i8count += ino > XFS_DIR2_MAX_SHORT_INUM;
> offset =
> xfs_dir2_sf_get_offset(sfep) +
> dp->d_ops->data_entsize(sfep->namelen);
> - ASSERT(dp->d_ops->sf_get_ftype(sfep) < XFS_DIR3_FT_MAX);
> + ASSERT(xfs_dir2_sf_get_ftype(mp, sfep) < XFS_DIR3_FT_MAX);
> }
> ASSERT(i8count == sfp->i8count);
> ASSERT((char *)sfep - (char *)sfp == dp->i_d.di_size);
> @@ -782,7 +812,7 @@ xfs_dir2_sf_verify(
> return __this_address;
>
> /* Check the file type. */
> - filetype = dops->sf_get_ftype(sfep);
> + filetype = xfs_dir2_sf_get_ftype(mp, sfep);
> if (filetype >= XFS_DIR3_FT_MAX)
> return __this_address;
>
> @@ -925,7 +955,7 @@ xfs_dir2_sf_lookup(
> if (cmp != XFS_CMP_DIFFERENT && cmp != args->cmpresult) {
> args->cmpresult = cmp;
> args->inumber = xfs_dir2_sf_get_ino(mp, sfp, sfep);
> - args->filetype = dp->d_ops->sf_get_ftype(sfep);
> + args->filetype = xfs_dir2_sf_get_ftype(mp, sfep);
> if (cmp == XFS_CMP_EXACT)
> return -EEXIST;
> ci_sfep = sfep;
> @@ -1108,7 +1138,7 @@ xfs_dir2_sf_replace(
> ASSERT(args->inumber != ino);
> xfs_dir2_sf_put_ino(mp, sfp, sfep,
> args->inumber);
> - dp->d_ops->sf_put_ftype(sfep, args->filetype);
> + xfs_dir2_sf_put_ftype(mp, sfep, args->filetype);
> break;
> }
> }
> @@ -1214,7 +1244,8 @@ xfs_dir2_sf_toino4(
> memcpy(sfep->name, oldsfep->name, sfep->namelen);
> xfs_dir2_sf_put_ino(mp, sfp, sfep,
> xfs_dir2_sf_get_ino(mp, oldsfp, oldsfep));
> - dp->d_ops->sf_put_ftype(sfep, dp->d_ops->sf_get_ftype(oldsfep));
> + xfs_dir2_sf_put_ftype(mp, sfep,
> + xfs_dir2_sf_get_ftype(mp, oldsfep));
> }
> /*
> * Clean up the inode.
> @@ -1286,7 +1317,8 @@ xfs_dir2_sf_toino8(
> memcpy(sfep->name, oldsfep->name, sfep->namelen);
> xfs_dir2_sf_put_ino(mp, sfp, sfep,
> xfs_dir2_sf_get_ino(mp, oldsfp, oldsfep));
> - dp->d_ops->sf_put_ftype(sfep, dp->d_ops->sf_get_ftype(oldsfep));
> + xfs_dir2_sf_put_ftype(mp, sfep,
> + xfs_dir2_sf_get_ftype(mp, oldsfep));
> }
> /*
> * Clean up the inode.
> diff --git a/fs/xfs/xfs_dir2_readdir.c b/fs/xfs/xfs_dir2_readdir.c
> index 9d318f091a73..e18045465455 100644
> --- a/fs/xfs/xfs_dir2_readdir.c
> +++ b/fs/xfs/xfs_dir2_readdir.c
> @@ -115,7 +115,7 @@ xfs_dir2_sf_getdents(
> }
>
> ino = xfs_dir2_sf_get_ino(mp, sfp, sfep);
> - filetype = dp->d_ops->sf_get_ftype(sfep);
> + filetype = xfs_dir2_sf_get_ftype(mp, sfep);
> ctx->pos = off & 0x7fffffff;
> if (!xfs_dir2_namecheck(sfep->name, sfep->namelen)) {
> XFS_ERROR_REPORT(__func__, XFS_ERRLEVEL_LOW,
> --
> 2.20.1
>
next prev parent reply other threads:[~2019-11-04 20:34 UTC|newest]
Thread overview: 81+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-01 22:06 remove m_dirops Christoph Hellwig
2019-11-01 22:06 ` [PATCH 01/34] xfs: move incore structures out of xfs_da_format.h Christoph Hellwig
2019-11-04 18:21 ` Darrick J. Wong
2019-11-01 22:06 ` [PATCH 02/34] xfs: refactor btree node scrubbing Christoph Hellwig
2019-11-04 18:36 ` Darrick J. Wong
2019-11-05 1:35 ` Christoph Hellwig
2019-11-01 22:06 ` [PATCH 03/34] xfs: devirtualize ->node_hdr_from_disk Christoph Hellwig
2019-11-04 18:37 ` Darrick J. Wong
2019-11-01 22:06 ` [PATCH 04/34] xfs: devirtualize ->node_hdr_to_disk Christoph Hellwig
2019-11-04 18:39 ` Darrick J. Wong
2019-11-01 22:06 ` [PATCH 05/34] xfs: add a btree entries pointer to struct xfs_da3_icnode_hdr Christoph Hellwig
2019-11-04 19:52 ` Darrick J. Wong
2019-11-05 1:38 ` Christoph Hellwig
2019-11-05 1:58 ` Darrick J. Wong
2019-11-01 22:06 ` [PATCH 06/34] xfs: move the node header size to struct xfs_da_geometry Christoph Hellwig
2019-11-04 19:58 ` Darrick J. Wong
2019-11-01 22:06 ` [PATCH 07/34] xfs: devirtualize ->leaf_hdr_from_disk Christoph Hellwig
2019-11-04 19:59 ` Darrick J. Wong
2019-11-01 22:06 ` [PATCH 08/34] xfs: devirtualize ->leaf_hdr_to_disk Christoph Hellwig
2019-11-04 20:00 ` Darrick J. Wong
2019-11-01 22:06 ` [PATCH 09/34] xfs: add a entries pointer to struct xfs_dir3_icleaf_hdr Christoph Hellwig
2019-11-04 20:04 ` Darrick J. Wong
2019-11-01 22:06 ` [PATCH 10/34] xfs: move the dir2 leaf header size to struct xfs_da_geometry Christoph Hellwig
2019-11-04 20:05 ` Darrick J. Wong
2019-11-01 22:06 ` [PATCH 11/34] xfs: move the max dir2 leaf entries count " Christoph Hellwig
2019-11-04 20:07 ` Darrick J. Wong
2019-11-05 1:42 ` Christoph Hellwig
2019-11-05 1:58 ` Darrick J. Wong
2019-11-01 22:06 ` [PATCH 12/34] xfs: devirtualize ->free_hdr_from_disk Christoph Hellwig
2019-11-04 20:08 ` Darrick J. Wong
2019-11-01 22:06 ` [PATCH 13/34] xfs: devirtualize ->free_hdr_to_disk Christoph Hellwig
2019-11-04 20:08 ` Darrick J. Wong
2019-11-01 22:06 ` [PATCH 14/34] xfs: make the xfs_dir3_icfree_hdr available to xfs_dir2_node_addname_int Christoph Hellwig
2019-11-04 20:25 ` Darrick J. Wong
2019-11-05 1:52 ` Christoph Hellwig
2019-11-05 1:59 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 15/34] xfs: add a bests pointer to struct xfs_dir3_icfree_hdr Christoph Hellwig
2019-11-04 20:21 ` Darrick J. Wong
2019-11-05 1:44 ` Christoph Hellwig
2019-11-05 2:05 ` Darrick J. Wong
2019-11-05 16:44 ` Christoph Hellwig
2019-11-01 22:07 ` [PATCH 16/34] xfs: move the dir2 free header size to struct xfs_da_geometry Christoph Hellwig
2019-11-04 20:22 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 17/34] xfs: move the max dir2 free bests count " Christoph Hellwig
2019-11-04 20:23 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 18/34] xfs: devirtualize ->db_to_fdb and ->db_to_fdindex Christoph Hellwig
2019-11-04 20:26 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 19/34] xfs: devirtualize ->sf_get_parent_ino and ->sf_put_parent_ino Christoph Hellwig
2019-11-04 20:26 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 20/34] xfs: devirtualize ->sf_entsize and ->sf_nextentry Christoph Hellwig
2019-11-04 20:28 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 21/34] xfs: devirtualize ->sf_get_ino and ->sf_put_ino Christoph Hellwig
2019-11-04 20:33 ` Darrick J. Wong
2019-11-07 1:05 ` Darrick J. Wong
2019-11-07 8:29 ` Christoph Hellwig
2019-11-01 22:07 ` [PATCH 22/34] xfs: devirtualize ->sf_get_ftype and ->sf_put_ftype Christoph Hellwig
2019-11-04 20:34 ` Darrick J. Wong [this message]
2019-11-01 22:07 ` [PATCH 23/34] xfs: remove the ->data_dot_entry_p and ->data_dotdot_entry_p methods Christoph Hellwig
2019-11-04 20:37 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 24/34] xfs: remove the unused ->data_first_entry_p method Christoph Hellwig
2019-11-04 20:38 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 25/34] xfs: remove the ->data_entry_entry_p method Christoph Hellwig
2019-11-04 20:41 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 26/34] xfs: devirtualize ->data_entsize Christoph Hellwig
2019-11-04 20:45 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 27/34] xfs: devirtualize ->data_entry_tag_p Christoph Hellwig
2019-11-04 20:45 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 28/34] xfs: move the dir2 data block fixed offsets to struct xfs_da_geometry Christoph Hellwig
2019-11-04 20:46 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 29/34] xfs: cleanup xfs_dir2_data_entsize Christoph Hellwig
2019-11-04 20:48 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 30/34] xfs: devirtualize ->data_bestfree_p Christoph Hellwig
2019-11-04 20:49 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 31/34] xfs: devirtualize ->data_get_ftype and ->data_put_ftype Christoph Hellwig
2019-11-04 20:50 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 32/34] xfs: remove the now unused dir ops infrastructure Christoph Hellwig
2019-11-04 20:50 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 33/34] xfs: merge xfs_dir2_data_freescan and xfs_dir2_data_freescan_int Christoph Hellwig
2019-11-04 20:51 ` Darrick J. Wong
2019-11-01 22:07 ` [PATCH 34/34] xfs: always pass a valid hdr to xfs_dir3_leaf_check_int Christoph Hellwig
2019-11-04 20:53 ` Darrick J. Wong
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=20191104203409.GX4153244@magnolia \
--to=darrick.wong@oracle.com \
--cc=hch@lst.de \
--cc=linux-xfs@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).