Re: dm bufio: Reduce dm_bufio_lock contention

From: Mikulas Patocka
Date: Fri Jun 22 2018 - 14:47:03 EST




On Fri, 22 Jun 2018, Michal Hocko wrote:

> On Fri 22-06-18 08:44:52, Mikulas Patocka wrote:
> > On Fri, 22 Jun 2018, Michal Hocko wrote:
> [...]
> > > Why? How are you going to audit all the callers that the behavior makes
> > > sense and moreover how are you going to ensure that future usage will
> > > still make sense. The more subtle side effects gfp flags have the harder
> > > they are to maintain.
> >
> > I did audit them - see the previous email in this thread:
> > https://www.redhat.com/archives/dm-devel/2018-June/thread.html
>
> I do not see any mention about throttling expectations for those users.
> You have focused only on the allocation failure fallback AFAIR

How should the callers be analyzed with respect to throttling?

Mikulas