Re: [PATCH 00/12] Block support for zoned drives

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

 



On Mon, Apr 4, 2016 at 2:32 PM, Hannes Reinecke <hare@xxxxxxx> wrote:
> 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@xxxxxxx>. 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://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Seagate_ZDM-2DDevice-2DMapper_tree_master_patches_util-2Dlinux&d=CwID-g&c=IGDlg0lD0b-nebmJJ0Kp8A&r=Wg5NqlNlVTT7Ugl8V50qIHLe856QW0qfG3WVYGOrWzA&m=4-JH1zADrs_TK5Uu77zQ1VSbAHgw5wTORr6yOSgYD5M&s=RDPFmAeTZPfhBJm7NWJ98rZLNz6XK6fUaEfuddyReH8&e=
>>
>> 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://urldefense.proofpoint.com/v2/url?u=https-3A__lkml.kernel.org_r_1457107853-2D8689-2D1-2Dgit-2Dsend-2Demail-2Daxboe-40fb.com&d=CwID-g&c=IGDlg0lD0b-nebmJJ0Kp8A&r=Wg5NqlNlVTT7Ugl8V50qIHLe856QW0qfG3WVYGOrWzA&m=4-JH1zADrs_TK5Uu77zQ1VSbAHgw5wTORr6yOSgYD5M&s=IN4c2F-7PSBRdZ48Vd9a9ErYT6ZC8LU9Gz64JkCkR4o&e=
>>
>> 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://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Seagate_ZDM-2DDevice-2DMapper&d=CwID-g&c=IGDlg0lD0b-nebmJJ0Kp8A&r=Wg5NqlNlVTT7Ugl8V50qIHLe856QW0qfG3WVYGOrWzA&m=4-JH1zADrs_TK5Uu77zQ1VSbAHgw5wTORr6yOSgYD5M&s=ORjeO0XATR5F7vYAssdTzdmSeRV3svNBuoL63WOtcno&e=
>>
>> And a fork of Linus kernel with ZDM branches is available here:
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_stancheff_linux&d=CwID-g&c=IGDlg0lD0b-nebmJJ0Kp8A&r=Wg5NqlNlVTT7Ugl8V50qIHLe856QW0qfG3WVYGOrWzA&m=4-JH1zADrs_TK5Uu77zQ1VSbAHgw5wTORr6yOSgYD5M&s=HGzFkskoVEIBv0BMxTwLpzVxLZsAqiLNEUKWeqK_Xgk&e=
>>
>> 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.

Sure no problem, I was planning to re-base on top of your patchset.

Just hopping to get some early feedback on the struct bio changes...

> 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.

Thanks!

>
> Cheers,
>
> Hannes
> --
> Dr. Hannes Reinecke                   zSeries & Storage
> hare@xxxxxxx                          +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)
> --
> To unsubscribe from this list: send the line "unsubscribe linux-block" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  https://urldefense.proofpoint.com/v2/url?u=http-3A__vger.kernel.org_majordomo-2Dinfo.html&d=CwID-g&c=IGDlg0lD0b-nebmJJ0Kp8A&r=Wg5NqlNlVTT7Ugl8V50qIHLe856QW0qfG3WVYGOrWzA&m=4-JH1zADrs_TK5Uu77zQ1VSbAHgw5wTORr6yOSgYD5M&s=NjPE1IDNgJ6Y4TNHshx_mgv4CeKIvcYlEW0FVxUFnNc&e=

-- 
Shaun Tancheff
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux