Skip to content

XArray: several cleanups

Wei Yang linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 31 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9XArray: fix comment on Zero/Retry entryinclude/linux/xarray.h+2 -22 replies
2/9XArray: simplify the calculation of shiftlib/xarray.c+1 -52 replies
3/9XArray: handle a NULL head by itselflib/xarray.c+3 -20 replies
4/9XArray: don't expect to have more nr_values than countlib/xarray.c+1 -10 replies
5/9XArray: entry in last level is not expected to be a nodelib/xarray.c+0 -219 replies
6/9XArray: internal node is a xa_node when it is bigger than XA_ZERO_ENTRYinclude/linux/xarray.h+1 -18 replies
7/9XArray: the NULL xa_node condition is handled in xas_toplib/xarray.c+1 -50 replies
8/9XArray: take xas_error() handling for clearer logiclib/xarray.c+3 -20 replies
9/9XArray: adjust xa_offset till it gets the correct nodelib/xarray.c+3 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] XArray: several cleanups

Trivial cleanup for XArray.

No functional change.

Wei Yang (9):
XArray: fix comment on Zero/Retry entry
XArray: simplify the calculation of shift
XArray: handle a NULL head by itself
XArray: don't expect to have more nr_values than count
XArray: entry in last level is not expected to be a node
XArray: internal node is a xa_node when it is bigger than
XA_ZERO_ENTRY
XArray: the NULL xa_node condition is handled in xas_top
XArray: take xas_error() handling for clearer logic
XArray: adjust xa_offset till it gets the correct node

 include/linux/xarray.h |  6 +++---
 lib/xarray.c           | 31 ++++++++++++-------------------
 2 files changed, 15 insertions(+), 22 deletions(-)
Signature · 1 line
2.23.0