[PATCH v4 0/5] Fix and cleanups to xarray

From: Kemeng Shi
Date: Wed Dec 18 2024 - 01:48:35 EST


v3->v4:
-Correct changelog in patch 1 by using nfs as low-level filesystem in
example how bug could be triggered in theory.

v2->v3:
-Add impact about fixed issue in changelog.

v1->v2:
-Drop patch "Xarray: skip unneeded xas_store() and xas_clear_mark() in
__xa_alloc()"

This series contains some random fixes and cleanups to xarray. Patch 1-2
are fixes and patch 3-6 are cleanups. More details can be found in
respective patches. Thanks!

Kemeng Shi (5):
Xarray: Do not return sibling entries from xas_find_marked()
Xarray: move forward index correctly in xas_pause()
Xarray: distinguish large entries correctly in xas_split_alloc()
Xarray: remove repeat check in xas_squash_marks()
Xarray: use xa_mark_t in xas_squash_marks() to keep code consistent

lib/test_xarray.c | 35 +++++++++++++++++++++++++++
lib/xarray.c | 26 +++++++++++---------
tools/testing/radix-tree/multiorder.c | 4 +++
3 files changed, 54 insertions(+), 11 deletions(-)

--
2.30.0