[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fix and cleanup discard_alignment handling
- To: Jens Axboe <axboe@xxxxxxxxx>
- From: Christoph Hellwig <hch@xxxxxx>
- Date: Mon, 18 Apr 2022 06:53:03 +0200
- Cc: Richard Weinberger <richard@xxxxxx>, Johannes Berg <johannes@xxxxxxxxxxxxxxxx>, Josef Bacik <josef@xxxxxxxxxxxxxx>, "Md. Haris Iqbal" <haris.iqbal@xxxxxxxxx>, Jack Wang <jinpu.wang@xxxxxxxxx>, "Michael S. Tsirkin" <mst@xxxxxxxxxx>, Jason Wang <jasowang@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Mike Snitzer <snitzer@xxxxxxxxxx>, Song Liu <song@xxxxxxxxxx>, Stefan Haberland <sth@xxxxxxxxxxxxx>, Jan Hoeppner <hoeppner@xxxxxxxxxxxxx>, "Martin K. Petersen" <martin.petersen@xxxxxxxxxx>, linux-um@xxxxxxxxxxxxxxxxxxx, linux-block@xxxxxxxxxxxxxxx, nbd@xxxxxxxxxxxxxxxx, virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, linux-raid@xxxxxxxxxxxxxxx, linux-nvme@xxxxxxxxxxxxxxxxxxx, linux-s390@xxxxxxxxxxxxxxx, dm-devel@xxxxxxxxxx
- Delivery-date: Mon, 18 Apr 2022 04:53:49 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
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(-)
|