Re: [PATCH v4] mm/zswap: store <PAGE_SIZE compression failed page as-is

From: SeongJae Park
Date: Fri Aug 22 2025 - 12:46:25 EST


On Fri, 22 Aug 2025 12:48:27 +1200 Barry Song <21cnbao@xxxxxxxxx> wrote:

> > > >
> > > > 1. remove it,
> > > > 2. keep it as is, or
> > > > 3. keep it, but account only -EINPROGRESS[1]
> > > >
> > > > If I'm not missing other options, I'm tempted to the first option (remove it)
> > > > since it doesn't change any existing things, and we can revisit later.
> > >
> > > I am fine with 1) removing it. Maybe add a log once print error on the
> > > error code if -EINPROGRESS, just to know such extreme error has been
> > > triggered.
> > > >
> > > > Please let me know if I'm missing other options or if you have other preferences.
> > >
> > > I just don't want to hide the extreme error case but I am also fine
> > > with just removing it. It is your call.
> >
> > Thank you for your opinion, Chris! Unless others have different opinions, I
> > will only remove the counter (option 1), since it is simplest and we can
> > consider adding another counter or error logs on top of it.
>
> Yes, that seems the best option—to remove the counter for now.

Thank you for making your opinion clear, Barry. I will post v5 soon.


Thanks,
SJ

[...]