All of lore.kernel.org
 help / color / mirror / Atom feed
* move the bdi from the request_queue to the gendisk
@ 2021-08-09 14:17 Christoph Hellwig
  2021-08-09 14:17   ` Christoph Hellwig
                   ` (2 more replies)
  0 siblings, 3 replies; 47+ messages in thread
From: Christoph Hellwig @ 2021-08-09 14:17 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Tejun Heo, Jan Kara, linux-block, Andrew Morton, cgroups,
	linux-fsdevel, linux-mm

Hi Jens,

this series moves the pointer to the bdi from the request_queue
to the bdi, better matching the life time rules of the different
objects.

Diffstat:
 block/bfq-iosched.c           |    4 ++--
 block/blk-cgroup.c            |    7 +++----
 block/blk-core.c              |   18 +++---------------
 block/blk-mq.c                |    2 +-
 block/blk-settings.c          |   22 ++++++++++++++--------
 block/blk-sysfs.c             |   28 +++++++++++++---------------
 block/blk-wbt.c               |   10 +++++-----
 block/genhd.c                 |   23 ++++++++++++++---------
 block/ioctl.c                 |    7 ++++---
 drivers/block/drbd/drbd_nl.c  |    2 +-
 drivers/block/drbd/drbd_req.c |    5 ++---
 drivers/block/pktcdvd.c       |    8 +++-----
 drivers/md/dm-table.c         |    2 +-
 drivers/nvme/host/core.c      |    2 +-
 fs/block_dev.c                |   13 +------------
 fs/fat/fatent.c               |    1 +
 fs/nilfs2/super.c             |    2 +-
 fs/super.c                    |    2 +-
 fs/xfs/xfs_buf.c              |    2 +-
 include/linux/backing-dev.h   |    2 +-
 include/linux/blk_types.h     |    1 -
 include/linux/blkdev.h        |    6 ++----
 include/linux/genhd.h         |    1 +
 mm/backing-dev.c              |    3 +++
 mm/page-writeback.c           |    2 --
 25 files changed, 79 insertions(+), 96 deletions(-)

^ permalink raw reply	[flat|nested] 47+ messages in thread

end of thread, other threads:[~2021-10-14 20:27 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-09 14:17 move the bdi from the request_queue to the gendisk Christoph Hellwig
2021-08-09 14:17 ` [PATCH 1/5] mm: hide laptop_mode_wb_timer entirely behind the BDI API Christoph Hellwig
2021-08-09 14:17   ` Christoph Hellwig
2021-08-09 14:33   ` Johannes Thumshirn
2021-08-09 14:33     ` Johannes Thumshirn
     [not found]   ` <20210809141744.1203023-2-hch-jcswGhMUV9g@public.gmane.org>
2021-08-09 15:10     ` Jan Kara
2021-08-09 15:10       ` Jan Kara
2021-08-10 21:56   ` Guenter Roeck
2021-08-10 21:56     ` Guenter Roeck
2021-08-11  5:22     ` Christoph Hellwig
2021-08-11  5:22       ` Christoph Hellwig
2021-08-09 14:17 ` [PATCH 4/5] block: move the bdi from the request_queue to the gendisk Christoph Hellwig
2021-08-09 14:38   ` Johannes Thumshirn
2021-08-09 14:38     ` Johannes Thumshirn
2021-08-09 15:47   ` Jan Kara
     [not found]     ` <20210809154728.GH30319-4I4JzKEfoa/jFM9bn6wA6Q@public.gmane.org>
2021-08-09 17:57       ` Jens Axboe
2021-08-09 17:57         ` Jens Axboe
2021-08-09 21:29         ` Jan Kara
2021-08-10 16:44     ` Christoph Hellwig
2021-10-14 14:31   ` [sparc64] kernel OOPS (was: [PATCH 4/5] block: move the bdi from the request_queue to the gendisk) Anatoly Pugachev
     [not found]     ` <20211014143123.GA22126-DK4qA7C3Vp/Dd9xlW2Tctw@public.gmane.org>
2021-10-14 14:32       ` Christoph Hellwig
2021-10-14 14:32         ` Christoph Hellwig
2021-10-14 20:27         ` Anatoly Pugachev
     [not found] ` <20210809141744.1203023-1-hch-jcswGhMUV9g@public.gmane.org>
2021-08-09 14:17   ` [PATCH 2/5] block: pass a gendisk to blk_queue_update_readahead Christoph Hellwig
2021-08-09 14:17     ` Christoph Hellwig
2021-08-09 14:35     ` Johannes Thumshirn
2021-08-09 15:17     ` Jan Kara
2021-08-09 14:17   ` [PATCH 3/5] block: add a queue_has_disk helper Christoph Hellwig
2021-08-09 14:17     ` Christoph Hellwig
2021-08-09 14:37     ` Johannes Thumshirn
2021-08-09 15:18     ` Jan Kara
2021-08-09 14:17   ` [PATCH 5/5] block: remove the bd_bdi in struct block_device Christoph Hellwig
2021-08-09 14:17     ` Christoph Hellwig
2021-08-09 14:55     ` Johannes Thumshirn
2021-08-09 15:49     ` Jan Kara
2021-08-09 21:42   ` move the bdi from the request_queue to the gendisk Jens Axboe
2021-08-09 21:42     ` Jens Axboe
2021-08-10 19:36   ` Qian Cai
2021-08-10 19:36     ` Qian Cai
     [not found]     ` <e5e19d15-7efd-31f4-941a-a5eb2f94b898-jfJNa2p1gH1BDgjK7y7TUQ@public.gmane.org>
2021-08-10 20:02       ` Christoph Hellwig
2021-08-10 20:02         ` Christoph Hellwig
     [not found]         ` <20210810200256.GA30809-jcswGhMUV9g@public.gmane.org>
2021-08-11  2:28           ` Qian Cai
2021-08-11  2:28             ` Qian Cai
2021-08-11 11:25         ` Jan Kara
     [not found]           ` <20210811112514.GC14725-4I4JzKEfoa/jFM9bn6wA6Q@public.gmane.org>
2021-08-11 11:51             ` Christoph Hellwig
2021-08-11 11:51               ` Christoph Hellwig
2021-08-11 12:47               ` Jan Kara

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.