[dm-devel] [patch 0/8] dm-bufio patches

Mike Snitzer snitzer at redhat.com
Tue Mar 27 00:55:22 UTC 2018


On Mon, Mar 26 2018 at  4:20pm -0400,
Mikulas Patocka <mpatocka at redhat.com> wrote:

> 
> 
> On Mon, 26 Mar 2018, Mike Snitzer wrote:
> 
> > On Mon, Mar 26 2018 at  2:29pm -0400,
> > mpatocka at redhat.com <mpatocka at redhat.com> wrote:
> > 
> > > Hi
> > > 
> > > Here I'm sending the second version of dm-bufio patches for arbitrary
> > > sector size.
> > > 
> > > I dropped the patch that removes alloc_pages because it turns out that
> > > alloc_pages is faster than the slab allocator.
> > 
> > I had already staged the previous set, so I need to go back over that
> > and update accordingly.
> > 
> > > I also added a patch that removes struct bio from struct dm_buffer
> > > (reducing the size of dm_buffer to 1/3) and allocates the bio only when
> > > doing read or write.
> > 
> > OK, I'll go over your new set and try to tease out any differences.
> > 
> > Mike
> 
> One more patch that I forgot to include.
> 
> 
> 
> From: Mikulas Patocka <mpatocka at redhat.com>
> Subject: [PATCH] dm-bufio: delete outdated comment
> 
> This comment was true when dm-bufio was written, but since the kernel 4.3,
> bios can have arbitrary size and the driver splits them.
> 
> Signed-off-by: Mikulas Patocka <mpatocka at redhat.com>

I had already included this one back on March 4.

I've pushed dm-4.17 with all your bufio changes.  I tweaked headers and
some whitespace, etc.  Please review and verify all looks fine, thanks:
https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/log/?h=dm-4.17




More information about the dm-devel mailing list