Linux Documentation
 help / color / mirror / Atom feed
* [PATCH] XArray: document that tags persist after storing new elements
@ 2026-08-19  6:57 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2026-08-19  6:57 UTC (permalink / raw)
  To: willy, corbet; +Cc: skhan, linux-fsdevel, linux-mm, linux-doc

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.
 
 Setting or clearing a mark on any index of a multi-index entry will
 affect all indices covered by that entry.  Querying the mark on any
-- 
2.53.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-19  6:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-19  6:57 [PATCH] XArray: document that tags persist after storing new elements Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox