[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230106083317.93938-1-p.raghav@samsung.com>
Date: Fri, 6 Jan 2023 09:33:10 +0100
From: Pankaj Raghav <p.raghav@...sung.com>
To: axboe@...nel.dk
Cc: kernel@...kajraghav.com, linux-kernel@...r.kernel.org,
hare@...e.de, bvanassche@....org, snitzer@...nel.org,
dm-devel@...hat.com, damien.lemoal@...nsource.wdc.com,
linux-nvme@...ts.infradead.org, hch@....de,
linux-block@...r.kernel.org, gost.dev@...sung.com,
Pankaj Raghav <p.raghav@...sung.com>
Subject: [PATCH 0/7] block zoned cleanups
Hi Jens,
It is still unclear whether the support for non-po2 zone size devices
will be added anytime soon [1]. I have extracted out the cleanup
patches that doesn't do any functional change but improves the
readability by adding helpers. This also helps a bit to
maintain off-tree support as there is an interest to have this feature
in some companies.
I have retained the reviewed by tags for the commits that did not change
from the main patches I sent before[1].
[1] https://lore.kernel.org/lkml/20220923173618.6899-1-p.raghav@samsung.com/
Luis Chamberlain (1):
dm-zoned: ensure only power of 2 zone sizes are allowed
Pankaj Raghav (6):
block: remove superfluous check for request queue in bdev_is_zoned
block: add a new helper bdev_{is_zone_start, offset_from_zone_start}
nvmet: introduce bdev_zone_no helper
zonefs: use bdev_zone_no helper to calculate the zone index
dm-zone: use generic helpers to calculate offset from zone start
dm: call dm_zone_endio after the target endio callback for zoned
devices
block/blk-core.c | 2 +-
block/blk-zoned.c | 4 ++--
drivers/md/dm-zone.c | 8 +++-----
drivers/md/dm-zoned-target.c | 8 ++++++++
drivers/md/dm.c | 8 ++++----
drivers/nvme/target/zns.c | 3 +--
fs/zonefs/super.c | 8 +++-----
fs/zonefs/zonefs.h | 1 -
include/linux/blkdev.h | 28 +++++++++++++++++++++++-----
9 files changed, 45 insertions(+), 25 deletions(-)
--
2.25.1
Powered by blists - more mailing lists