Re: [PATCH 7/9] ida: introduce ida_max() to return the maximum allocated ID

From: Christoph Hellwig
Date: Thu Apr 29 2021 - 02:49:58 EST


On Wed, Apr 28, 2021 at 05:49:47PM +0800, Muchun Song wrote:
> Introduce ida_max() to return the maximum allocated ID. This will be
> used by memory cgroup in the later patch.

Please also add a lower-level xa_max as this funcationalty would also
come in handy at the xarray level in a few places.