Re: [PATCH 0/4] block: move sd_format_disk_name() into block core asdisk_name_format()

From: Michael S. Tsirkin
Date: Sun Apr 01 2012 - 07:21:02 EST


On Fri, Mar 30, 2012 at 05:50:12PM +0800, Ren Mingxin wrote:
>
>
> This patch series renames "sd_format_disk_name()" to
> "disk_name_format()" and moves it into block core. So
> that who needs formatting disk name can use it, instead
> of duplicating these similar help functions.

I see there are some responses about naming and comments,
so that would need to be fixed.
Besides this, Jens, would you like to take the patchset
through your tree or prefer for me to merge it through virtio tree?
Block tree seems more appropriate, right?
Also this is a bugfix technically since it fixes setups
with a ton of disks, so 3.4 material?

> Ren Mingxin (4):
> block: add function disk_name_format() into block core
> scsi: replace sd_format_disk_name() to disk_name_format()
> block: replace rssd_disk_name_format() to disk_name_format()
> virtio_blk: use disk_name_format() to support mass of disks naming
>
> block/genhd.c | 49 ++++++++++++++++++++++++++++++++++++++
> drivers/block/mtip32xx/mtip32xx.c | 33 -------------------------
> drivers/block/virtio_blk.c | 13 ----------
> drivers/scsi/sd.c | 48 -------------------------------------
> include/linux/genhd.h | 2 +
> 5 files changed, 54 insertions(+), 91 deletions(-)
>
> Any comment will be appreciated.
>
> Thanks,
> Ren
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/