All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-devel] [PATCH v2 0/5] block: simplify with PAGE_SECTORS_SHIFT
@ 2023-05-26  7:33 ` Luis Chamberlain
  0 siblings, 0 replies; 42+ messages in thread
From: Luis Chamberlain @ 2023-05-26  7:33 UTC (permalink / raw)
  To: axboe, agk, snitzer, philipp.reisner, lars.ellenberg,
	christoph.boehmwalder, hch, djwong, minchan, senozhatsky
  Cc: p.raghav, linux-xfs, rohan.puri, da.gomez, mcgrof, patches, willy,
	linux-kernel, linux-block, linux-mm, dm-devel, linux-fsdevel,
	rpuri.linux, kbusch, drbd-dev

A bit of block drivers have their own incantations with
PAGE_SHIFT - SECTOR_SHIFT. Just simplfy and use PAGE_SECTORS_SHIFT
all over.
                                                                                                                                                                                              
Based on linux-next next-20230525.

Changes since v1:

 o keep iomap math visibly simple
 o Add tags for Reviews/acks
 o rebase onto next-20230525

Luis Chamberlain (5):
  block: annotate bdev_disk_changed() deprecation with a symbol
    namespace
  drbd: use PAGE_SECTORS_SHIFT and PAGE_SECTORS
  iomap: simplify iomap_init() with PAGE_SECTORS
  dm bufio: simplify by using PAGE_SECTORS_SHIFT
  zram: use generic PAGE_SECTORS and PAGE_SECTORS_SHIFT

 block/partitions/core.c          |  6 +-----
 drivers/block/drbd/drbd_bitmap.c |  4 ++--
 drivers/block/loop.c             |  2 ++
 drivers/block/zram/zram_drv.c    | 12 ++++++------
 drivers/block/zram/zram_drv.h    |  2 --
 drivers/md/dm-bufio.c            |  4 ++--
 drivers/s390/block/dasd_genhd.c  |  2 ++
 fs/iomap/buffered-io.c           |  2 +-
 8 files changed, 16 insertions(+), 18 deletions(-)

-- 
2.39.2

--
dm-devel mailing list
dm-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/dm-devel


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

end of thread, other threads:[~2023-05-26  9:34 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-26  7:33 [dm-devel] [PATCH v2 0/5] block: simplify with PAGE_SECTORS_SHIFT Luis Chamberlain
2023-05-26  7:33 ` [Drbd-dev] " Luis Chamberlain
2023-05-26  7:33 ` Luis Chamberlain
2023-05-26  7:33 ` [dm-devel] [PATCH v2 1/5] block: annotate bdev_disk_changed() deprecation with a symbol namespace Luis Chamberlain
2023-05-26  7:33   ` [Drbd-dev] " Luis Chamberlain
2023-05-26  7:33   ` Luis Chamberlain
2023-05-26  8:13   ` [dm-devel] " Christoph Hellwig
2023-05-26  8:13     ` [Drbd-dev] " Christoph Hellwig
2023-05-26  8:13     ` Christoph Hellwig
2023-05-26  8:20     ` [dm-devel] " Luis Chamberlain
2023-05-26  8:20       ` [Drbd-dev] " Luis Chamberlain
2023-05-26  8:20       ` Luis Chamberlain
2023-05-26  7:33 ` [dm-devel] [PATCH v2 2/5] drbd: use PAGE_SECTORS_SHIFT and PAGE_SECTORS Luis Chamberlain
2023-05-26  7:33   ` [Drbd-dev] " Luis Chamberlain
2023-05-26  7:33   ` Luis Chamberlain
2023-05-26  9:20   ` [dm-devel] " Johannes Thumshirn
2023-05-26  9:20     ` [Drbd-dev] " Johannes Thumshirn
2023-05-26  9:20     ` Johannes Thumshirn
2023-05-26  7:33 ` [dm-devel] [PATCH v2 3/5] iomap: simplify iomap_init() with PAGE_SECTORS Luis Chamberlain
2023-05-26  7:33   ` [Drbd-dev] " Luis Chamberlain
2023-05-26  7:33   ` Luis Chamberlain
2023-05-26  8:13   ` [dm-devel] " Christoph Hellwig
2023-05-26  8:13     ` [Drbd-dev] " Christoph Hellwig
2023-05-26  8:13     ` Christoph Hellwig
2023-05-26  9:20   ` [dm-devel] " Johannes Thumshirn
2023-05-26  9:20     ` [Drbd-dev] " Johannes Thumshirn
2023-05-26  9:20     ` Johannes Thumshirn
2023-05-26  7:33 ` [dm-devel] [PATCH v2 4/5] dm bufio: simplify by using PAGE_SECTORS_SHIFT Luis Chamberlain
2023-05-26  7:33   ` [Drbd-dev] " Luis Chamberlain
2023-05-26  7:33   ` Luis Chamberlain
2023-05-26  9:21   ` [dm-devel] " Johannes Thumshirn
2023-05-26  9:21     ` [Drbd-dev] " Johannes Thumshirn
2023-05-26  9:21     ` Johannes Thumshirn
2023-05-26  7:33 ` [dm-devel] [PATCH v2 5/5] zram: use generic PAGE_SECTORS and PAGE_SECTORS_SHIFT Luis Chamberlain
2023-05-26  7:33   ` [Drbd-dev] " Luis Chamberlain
2023-05-26  7:33   ` Luis Chamberlain
2023-05-26  9:24   ` [dm-devel] " Johannes Thumshirn
2023-05-26  9:24     ` [Drbd-dev] " Johannes Thumshirn
2023-05-26  9:24     ` Johannes Thumshirn
2023-05-26  9:26 ` [dm-devel] [PATCH v2 0/5] block: simplify with PAGE_SECTORS_SHIFT Johannes Thumshirn
2023-05-26  9:26   ` [Drbd-dev] " Johannes Thumshirn
2023-05-26  9:26   ` Johannes Thumshirn

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.