Re: Failing XFS memory allocation

Dave Chinner
2016-03-24T22:00:32Z

On Thu, Mar 24, 2016 at 02:31:27AM -0700, Christoph Hellwig wrote:
> 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?

I've done bits of it, but haven't completed it - send me the patches
and I'll see which approch makes the most sense...

Cheers,

Dave.
--
Dave Chinner
david@fromorbit.com