[dm-devel] [git pull] device mapper changes for 4.18

Mike Snitzer snitzer at redhat.com
Mon Jun 4 21:13:44 UTC 2018


On Mon, Jun 04 2018 at  3:58pm -0400,
Peter Zijlstra <peterz at infradead.org> wrote:

> On Mon, Jun 04, 2018 at 12:39:11PM -0700, Linus Torvalds wrote:
> > On Mon, Jun 4, 2018 at 12:37 PM Peter Zijlstra <peterz at infradead.org> wrote:
> > >
> > > Would it help if we did s/swake_up/swake_up_one/g ?
> > >
> > > Then there would not be an swake_up() to cause confusion.
> > 
> > Yes, i think that would already be a big improvement, forcing people
> > to be aware of the exclusive nature.
> 
> The below will of course conflict with the merge request under
> discussion. Also completely untested.

No worries there since I'll be resubmitting dm-writecache for 4.19.

(Mikulas would like to still use swait for the dm-writecache's endio
thread, since endio_thread_wait only has a single waiter.  I told him to
convert the other 2, benchmark it with still swait in endio path, then
convert the one used in endio, benchmark will all converted and we'd
revisit if there is a compelling performance difference.  But even then
I'm not sure I want DM on the list of swait consumers... to be
continued)




More information about the dm-devel mailing list