[PATCH v2 0/3] block zoned cleanups

Pankaj Raghav p.raghav at samsung.com
Tue Jan 17 09:28:13 PST 2023


Hi Jens,
  There is a Reviewed-by tag by different reviewers in all the patches.
Could we queue this up for the next release?

Regards,
Pankaj

On 2023-01-10 15:36, Pankaj Raghav wrote:
> 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.
> 
> [1] https://lore.kernel.org/lkml/20220923173618.6899-1-p.raghav@samsung.com/
> 
> Changes since v1:
> - Remove blk_is_zoned() check in bdev_{is_zone_start, offset_from_zone_start} (Damien)
> - Minor spelling and variable name changes (Bart and Johannes)
> - Remove zonefs patch for now (Damien)
> - Send dm patches separately(Christoph)
> 
> Pankaj Raghav (3):
>   block: remove superfluous check for request queue in bdev_is_zoned()
>   block: add a new helper bdev_{is_zone_start, offset_from_zone_start}
>   block: introduce bdev_zone_no helper
> 
>  block/blk-core.c          |  2 +-
>  block/blk-zoned.c         |  4 ++--
>  drivers/nvme/target/zns.c |  3 +--
>  include/linux/blkdev.h    | 22 +++++++++++++++++-----
>  4 files changed, 21 insertions(+), 10 deletions(-)
> 



More information about the Linux-nvme mailing list