virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* fix and cleanup discard_alignment handling
@ 2022-04-18  4:53 Christoph Hellwig
  2022-04-18  4:53 ` [PATCH 01/11] ubd: don't set the discard_alignment queue limit Christoph Hellwig
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Christoph Hellwig @ 2022-04-18  4:53 UTC (permalink / raw)
  To: Jens Axboe
  Cc: Jan Hoeppner, Michael S. Tsirkin, linux-nvme, virtualization,
	Song Liu, dm-devel, Md. Haris Iqbal, Jack Wang, linux-s390,
	Richard Weinberger, xen-devel, linux-um, Mike Snitzer,
	Josef Bacik, nbd, linux-block, Stefan Haberland, linux-raid,
	Martin K. Petersen, Johannes Berg, Roger Pau Monné

Hi all,

the somewhat confusing name of the discard_alignment queue limit, that
really is an offset for the discard granularity mislead a lot of driver
authors to set it to an incorrect value.  This series tries to fix up
all these cases.

Diffstat:
 arch/um/drivers/ubd_kern.c         |    1 -
 drivers/block/loop.c               |    1 -
 drivers/block/nbd.c                |    3 ---
 drivers/block/null_blk/main.c      |    1 -
 drivers/block/rnbd/rnbd-srv-dev.h  |    2 +-
 drivers/block/virtio_blk.c         |    7 ++++---
 drivers/block/xen-blkback/xenbus.c |    4 ++--
 drivers/md/dm-zoned-target.c       |    2 +-
 drivers/md/raid5.c                 |    1 -
 drivers/nvme/host/core.c           |    1 -
 drivers/s390/block/dasd_fba.c      |    1 -
 11 files changed, 8 insertions(+), 16 deletions(-)
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization

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

end of thread, other threads:[~2022-05-03 16:39 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-18  4:53 fix and cleanup discard_alignment handling Christoph Hellwig
2022-04-18  4:53 ` [PATCH 01/11] ubd: don't set the discard_alignment queue limit Christoph Hellwig
2022-04-18  4:53 ` [PATCH 02/11] nbd: " Christoph Hellwig
2022-04-18  4:53 ` [PATCH 03/11] null_blk: " Christoph Hellwig
2022-04-18  4:53 ` [PATCH 04/11] virtio_blk: fix the discard_granularity and discard_alignment queue limits Christoph Hellwig
2022-04-18  4:53 ` [PATCH 05/11] dm-zoned: don't set the discard_alignment queue limit Christoph Hellwig
2022-04-18  4:53 ` [PATCH 06/11] raid5: " Christoph Hellwig
2022-04-18  4:53 ` [PATCH 07/11] dasd: " Christoph Hellwig
2022-04-18  4:53 ` [PATCH 08/11] loop: remove a spurious clear of discard_alignment Christoph Hellwig
2022-04-18  4:53 ` [PATCH 09/11] nvme: " Christoph Hellwig
2022-04-18  4:53 ` [PATCH 10/11] rnbd-srv: use bdev_discard_alignment Christoph Hellwig
2022-04-18  4:53 ` [PATCH 11/11] xen-blkback: " Christoph Hellwig
2022-04-26  4:16 ` fix and cleanup discard_alignment handling Martin K. Petersen
2022-05-02 16:46 ` Christoph Hellwig
2022-05-03 16:39 ` 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).