Re: Failing XFS memory allocation

Christoph Hellwig
2016-03-24T09:31:35Z

On Thu, Mar 24, 2016 at 10:00:02AM +1100, Dave Chinner wrote:
> I'm working on prototype patches to convert it to an in-memory btree
> but they are far from ready at this point. This isn't straight
> forward because all the extent management code assumes extents are
> kept in a linear array and can be directly indexed by array offset
> rather than file offset. I also want to make sure we can demand page
> the extent list if necessary, and that also complicates things like
> locking, as we currently assume the extent list is either completely
> in memory or not in memory at all.

FYI, I did patches to get rid almost all direct extent array access
a while ago, but I never bothered to post it as it seemed to much
churn. Have you started that work yet or would it be useful
to dust those up again?