linux-bcache.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* provide a sane discard_granularity default
@ 2023-12-28  7:55 Christoph Hellwig
  2023-12-28  7:55 ` [PATCH 1/9] block: remove two comments in bio_split_discard Christoph Hellwig
                   ` (9 more replies)
  0 siblings, 10 replies; 21+ messages in thread
From: Christoph Hellwig @ 2023-12-28  7:55 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Richard Weinberger, Anton Ivanov, Josef Bacik, Minchan Kim,
	Sergey Senozhatsky, Coly Li, Miquel Raynal, Vignesh Raghavendra,
	linux-um, linux-block, nbd, linux-bcache, linux-mtd

Hi Jens,

this series defaults the discard_granularity to the sector size as
that is a very logical default for devices that have no further
restrictions.  This removes the need for trivial drivers to set
a discard granularity and cleans up the interface.

Diffstat:
 arch/um/drivers/ubd_kern.c    |    1 -
 block/blk-merge.c             |    6 +-----
 block/blk-settings.c          |    5 ++++-
 drivers/block/nbd.c           |    6 +-----
 drivers/block/null_blk/main.c |    1 -
 drivers/block/zram/zram_drv.c |    1 -
 drivers/md/bcache/super.c     |    1 -
 drivers/mtd/mtd_blkdevs.c     |    4 +---
 8 files changed, 7 insertions(+), 18 deletions(-)

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

end of thread, other threads:[~2024-01-06  1:33 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-28  7:55 provide a sane discard_granularity default Christoph Hellwig
2023-12-28  7:55 ` [PATCH 1/9] block: remove two comments in bio_split_discard Christoph Hellwig
2023-12-28  7:55 ` [PATCH 2/9] bcache: discard_granularity should not be smaller than a sector Christoph Hellwig
2023-12-28  7:55 ` [PATCH 3/9] block: default the discard granularity to sector size Christoph Hellwig
2024-01-02 22:11   ` John Pittman
2024-01-03  7:57     ` Christoph Hellwig
2023-12-28  7:55 ` [PATCH 4/9] ubd: use the default discard granularity Christoph Hellwig
2023-12-28 11:10   ` Richard Weinberger
2023-12-28  7:55 ` [PATCH 5/9] nbd: " Christoph Hellwig
2023-12-28  7:55 ` [PATCH 6/9] null_blk: " Christoph Hellwig
2023-12-28  7:55 ` [PATCH 7/9] zram: " Christoph Hellwig
2024-01-02  1:15   ` Sergey Senozhatsky
2024-01-02 15:40     ` Jens Axboe
2024-01-02 15:44       ` Jens Axboe
2024-01-02 15:47         ` Jens Axboe
2024-01-06  1:32   ` Sergey Senozhatsky
2023-12-28  7:55 ` [PATCH 8/9] bcache: " Christoph Hellwig
2024-01-05  7:03   ` Coly Li
2023-12-28  7:55 ` [PATCH 9/9] mtd_blkdevs: " Christoph Hellwig
2023-12-28 11:09   ` Richard Weinberger
2023-12-29 15:44 ` provide a sane discard_granularity default Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).