Linux Documentation
 help / color / mirror / Atom feed
From: Jonathan Corbet <corbet@lwn.net>
To: Christoph Hellwig <hch@lst.de>, willy@infradead.org
Cc: skhan@linuxfoundation.org, linux-fsdevel@vger.kernel.org,
	linux-mm@kvack.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH] XArray: document that tags persist after storing new elements
Date: Mon, 31 Aug 2026 15:29:50 -0600	[thread overview]
Message-ID: <87ik4qger5.fsf@trenco.lwn.net> (raw)
In-Reply-To: <20260819065714.1358822-1-hch@lst.de>

Christoph Hellwig <hch@lst.de> writes:

> This is a very useful feature, document it.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  Documentation/core-api/xarray.rst | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/Documentation/core-api/xarray.rst b/Documentation/core-api/xarray.rst
> index c6c91cbd0c3c..9a0d930a8c79 100644
> --- a/Documentation/core-api/xarray.rst
> +++ b/Documentation/core-api/xarray.rst
> @@ -127,6 +127,8 @@ by using xa_set_mark() and remove the mark from an entry by calling
>  xa_clear_mark().  You can ask whether any entry in the XArray has a
>  particular mark set by calling xa_marked().  Erasing an entry from the
>  XArray causes all marks associated with that entry to be cleared.
> +Storing a new entry that replaces an existing entry keeps the marks
> +associated with the index intact.
>  
Applied, thanks.

jon

      reply	other threads:[~2026-08-31 21:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-19  6:57 [PATCH] XArray: document that tags persist after storing new elements Christoph Hellwig
2026-08-31 21:29 ` Jonathan Corbet [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=87ik4qger5.fsf@trenco.lwn.net \
    --to=corbet@lwn.net \
    --cc=hch@lst.de \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=skhan@linuxfoundation.org \
    --cc=willy@infradead.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