mbox series

[dm-5.19,00/21] dm: changes staged for 5.19

Message ID 20220418022733.56168-1-snitzer@kernel.org (mailing list archive)
Headers show
Series dm: changes staged for 5.19 | expand

Message

Mike Snitzer April 18, 2022, 2:27 a.m. UTC
Hi,

This patchset reflects what I've staged in linux-dm.git's "dm-5.19"
branch (also staged in "for-next" for linux-next):
https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/log/?h=dm-5.19

It build's on jens/for-5.19/block branch (which is based on v5.18-rc3)

I can still make changes or add Reviewed-by:s, etc. So please feel
free to review.

Jens, I'd appreciate it if you could pickup the first patch:
"block: change exported IO accounting interface from gendisk to bdev"
(still not in love with that subject but...)

Thanks,
Mike

Mike Snitzer (13):
  dm: conditionally enable BIOSET_PERCPU_CACHE for dm_io bioset
  dm: factor out dm_io_set_error and __dm_io_dec_pending
  dm: simplify dm_io access in dm_split_and_process_bio
  dm: simplify dm_start_io_acct
  dm: mark various branches unlikely
  dm: add local variables to clone_endio and __map_bio
  dm: move hot dm_io members to same cacheline as dm_target_io
  dm: introduce dm_{get,put}_live_table_bio called from dm_submit_bio
  dm: conditionally enable branching for less used features
  dm: simplify basic targets
  dm: use bio_sectors in dm_aceept_partial_bio
  dm: simplify bio-based IO accounting further
  dm: improve abnormal bio processing

Ming Lei (8):
  block: change exported IO accounting interface from gendisk to bdev
  dm: don't pass bio to __dm_start_io_acct and dm_end_io_acct
  dm: pass dm_io instance to dm_io_acct directly
  dm: switch to bdev based IO accounting interfaces
  dm: improve bio splitting and associated IO accounting
  dm: don't grab target io reference in dm_zone_map_bio
  dm: improve dm_io reference counting
  dm: put all polled dm_io instances into a single list

 block/blk-core.c              |  52 ++---
 drivers/block/zram/zram_drv.c |   5 +-
 drivers/md/dm-core.h          |  38 ++--
 drivers/md/dm-delay.c         |   3 +-
 drivers/md/dm-flakey.c        |   4 +-
 drivers/md/dm-linear.c        |  11 +-
 drivers/md/dm-stats.c         |   3 +
 drivers/md/dm-table.c         |  16 +-
 drivers/md/dm-zone.c          |  10 -
 drivers/md/dm.c               | 515 ++++++++++++++++++++++++------------------
 drivers/md/dm.h               |   4 +-
 include/linux/blkdev.h        |   7 +-
 12 files changed, 367 insertions(+), 301 deletions(-)

Comments

Mike Snitzer April 18, 2022, 2:27 a.m. UTC | #1
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
Mike Snitzer April 18, 2022, 2:27 a.m. UTC | #2
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
Mike Snitzer April 18, 2022, 2:27 a.m. UTC | #3
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
Mike Snitzer April 18, 2022, 2:27 a.m. UTC | #4
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
Mike Snitzer April 18, 2022, 2:27 a.m. UTC | #5
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
Mike Snitzer April 18, 2022, 2:27 a.m. UTC | #6
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
Mike Snitzer April 18, 2022, 2:27 a.m. UTC | #7
--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
Damien Le Moal April 18, 2022, 3 a.m. UTC | #8
On 4/18/22 11:27, Mike Snitzer wrote:
> Hi,
> 
> This patchset reflects what I've staged in linux-dm.git's "dm-5.19"
> branch (also staged in "for-next" for linux-next):
> https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/log/?h=dm-5.19
> 
> It build's on jens/for-5.19/block branch (which is based on v5.18-rc3)

Mike, thanks for posting. We will run this on zoned stuff to check.
Note that patches 13 to 20 are empty...
Mike Snitzer April 18, 2022, 3:16 a.m. UTC | #9
On Sun, Apr 17 2022 at 11:00P -0400,
Damien Le Moal <damien.lemoal@opensource.wdc.com> wrote:

> On 4/18/22 11:27, Mike Snitzer wrote:
> > Hi,
> > 
> > This patchset reflects what I've staged in linux-dm.git's "dm-5.19"
> > branch (also staged in "for-next" for linux-next):
> > https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/log/?h=dm-5.19
> > 
> > It build's on jens/for-5.19/block branch (which is based on v5.18-rc3)
> 
> Mike, thanks for posting. We will run this on zoned stuff to check.

OK, I appreciate it..

> Note that patches 13 to 20 are empty...

Not sure what's going on there... basically any patch that wasn't from
me (so 1, 13-19) isn't showing up in patchwork or the dm-devel
archive.

This is my first submission of patches using my snitzer@kernel.org
alias with redhat's smtp server that is really anal about not sending
email that isn't from me.  Yet it sent the email but seized on the
following to have the body be empty:
"From: Ming Lei <ming.lei@redhat.com>"

Best part is my email account shows all the emails sent like all was
perfect.  Sorting this out will have to wait until Tuesday.

Sorry, but please just pull the dm-5.19 branch via git ;)

Thanks,
Mike

--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel
Jens Axboe April 18, 2022, 12:49 p.m. UTC | #10
On 4/17/22 9:16 PM, Mike Snitzer wrote:
> On Sun, Apr 17 2022 at 11:00P -0400,
> Damien Le Moal <damien.lemoal@opensource.wdc.com> wrote:
> 
>> On 4/18/22 11:27, Mike Snitzer wrote:
>>> Hi,
>>>
>>> This patchset reflects what I've staged in linux-dm.git's "dm-5.19"
>>> branch (also staged in "for-next" for linux-next):
>>> https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/log/?h=dm-5.19
>>>
>>> It build's on jens/for-5.19/block branch (which is based on v5.18-rc3)
>>
>> Mike, thanks for posting. We will run this on zoned stuff to check.
> 
> OK, I appreciate it..
> 
>> Note that patches 13 to 20 are empty...
> 
> Not sure what's going on there... basically any patch that wasn't from
> me (so 1, 13-19) isn't showing up in patchwork or the dm-devel
> archive.

The patches I received look normal, fwiw.
Jens Axboe April 18, 2022, 12:51 p.m. UTC | #11
On Sun, 17 Apr 2022 22:27:12 -0400, Mike Snitzer wrote:
> This patchset reflects what I've staged in linux-dm.git's "dm-5.19"
> branch (also staged in "for-next" for linux-next):
> https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/log/?h=dm-5.19
> 
> It build's on jens/for-5.19/block branch (which is based on v5.18-rc3)
> 
> I can still make changes or add Reviewed-by:s, etc. So please feel
> free to review.
> 
> [...]

Applied, thanks!

[01/21] block: change exported IO accounting interface from gendisk to bdev
        commit: 5f0614a55ecebdf55f1a17db0b5f6b787ed009f1

Best regards,