[dm-devel] [PATCH 00/12] Block support for zoned drives

Hannes Reinecke hare at suse.de
Mon Apr 4 07:32:07 UTC 2016


On 04/04/2016 07:06 AM, Shaun Tancheff wrote:
> As Host Aware drives are becoming available we would like to be able 
> to make use of such drives. This series is also intended to be suitable
> for use by Host Managed drives.
> 
> The following series is hopefully a reasonable start at adding such 
> support.
> 
> ZAC/ZBC drives add new commands. Some of this support is already in
> progress by Hannes Reinecke <hare at suse.de>. This patch finishes up a
> couple of scsi <-> ata translations. These patches will be re-worked 
> or dropped in favor of Hannes' next release.
> 
> With the ZAC support in place adding some additional flags to struct bio 
> to identify the new drive requests (Report zones, Open/Close/Reset zones).
> 
> With the bio support in place there are two new users added. The first 
> user is an ioctl the second user is a device mapper target.
> The user space tools for the ioctl is intended to be acceptable for
> inclusion by util-linux. Initial patches for 2.20.1 and 2.21.1
> can be found here:
> https://github.com/Seagate/ZDM-Device-Mapper/tree/master/patches/util-linux
> 
> Please consider the new device mapper target, as an RFC.
> 
> Patch "Limit bio_endio recursion" is based on an older patch that was 
> not picked up. It is not strictly necessary but it does reduce stack 
> usage, especially for badly behaved DM targets that return
> DM_MAPIO_REQUEUE too frequently.
> 
> Patch "Use PID to seed Stream Id" depends on:
> https://lkml.kernel.org/r/1457107853-8689-1-git-send-email-axboe@fb.com
> 
> Patch "Block Zoned Control for Userspace" is a hold over for user space
> tools that have not been updated to use the new block ioctl. The patch
> will be dropped when zdm-tools is updated and sd-tools is replaced
> with util-linux.
> 
> This series is based on Linus v4.5 kernel.
> 
> Code is also available on github here:
> https://github.com/Seagate/ZDM-Device-Mapper
> 
> And a fork of Linus kernel with ZDM branches is available here:
> https://github.com/stancheff/linux
> 
> Shaun Tancheff (12):
>   Add ZBC <-> ZAC xlat support for report, open, close, reset, finish
>   ata-scsi: Translate ReportZones result to big endian
>   BUG: Losing bits on request.cmd_flags
>   Add bio/request flags for using ZBC/ZAC commands
>   Add ioctl to issue ZBC/ZAC commands via block layer
>   Add ata pass-through path for ZAC commands.
>   ZDM: New DM target 'zoned'
>   RAID 4/5/6: Indicate parity blocks as 'META'
>   RAID 4/5/6: Fine-grained TRIM enable for ZDM
>   Limit bio_endio recursion
>   Stream Id: Use PID to seed Stream Id construction.
>   Block Zoned Control for Userspace
> 
Please hold off with this series for the moment.
I've just finished up porting my ZAC/ZBC patchset and will be posting an
update shortly.
I'm happy to integrate any of your fixes.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare at suse.de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)




More information about the dm-devel mailing list