]> www.infradead.org Git - users/jedix/linux-maple.git/commit
XArray: Add maple tree special entries
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 27 Feb 2020 19:21:54 +0000 (14:21 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 27 Feb 2020 20:15:46 +0000 (15:15 -0500)
commita6723ba73e51485fedf052775cf4499fb2bf746d
tree8930a24dc6390f9dd946389a7817eddfc9bd5378
parent748a8975ff181b6a12664001f139265d7c78d8e8
XArray: Add maple tree special entries

The SKIP entry indicates this slot is not in use.  It should have been
removed, but memory allocation failure prevented a new node from being
allocated.

The DELETED entry indicates that the entry which used to be in this slot
has been set to NULL.  It has been merged with the NULL in an adjacent
slot, but the slot is available for reuse if a store of exactly the same
size & location happens.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
include/linux/xarray.h