[PATCH v2 0/3] block zoned cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx/

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(-)

-- 
2.25.1




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux