From: Hannes Reinecke <hare@suse.de>
To: Damien Le Moal <damien.lemoal@wdc.com>, Jens Axboe <axboe@kernel.dk>
Cc: linux-block@vger.kernel.org, linux-scsi@vger.kernel.org,
Christoph Hellwig <hch@lst.de>,
"Martin K . Petersen" <martin.petersen@oracle.com>,
Shaun Tancheff <shaun@tancheff.com>,
Damien Le Moal <damien.lemoal@hgst.com>
Subject: Re: [PATCH v8 1/7] block: Add 'zoned' queue limit
Date: Tue, 18 Oct 2016 08:42:58 +0200 [thread overview]
Message-ID: <1e4d596f-e296-7f5c-0976-72c1d09ad71a@suse.de> (raw)
In-Reply-To: <1476772835-18541-2-git-send-email-damien.lemoal@wdc.com>
On 10/18/2016 08:40 AM, Damien Le Moal wrote:
> From: Damien Le Moal <damien.lemoal@hgst.com>
>
> Add the zoned queue limit to indicate the zoning model of a block device.
> Defined values are 0 (BLK_ZONED_NONE) for regular block devices,
> 1 (BLK_ZONED_HA) for host-aware zone block devices and 2 (BLK_ZONED_HM)
> for host-managed zone block devices. The standards defined drive managed
> model is not defined here since these block devices do not provide any
> command for accessing zone information. Drive managed model devices will
> be reported as BLK_ZONED_NONE.
>
> The helper functions blk_queue_zoned_model and bdev_zoned_model return
> the zoned limit and the functions blk_queue_is_zoned and bdev_is_zoned
> return a boolean for callers to test if a block device is zoned.
>
> The zoned attribute is also exported as a string to applications via
> sysfs. BLK_ZONED_NONE shows as "none", BLK_ZONED_HA as "host-aware" and
> BLK_ZONED_HM as "host-managed".
>
> Signed-off-by: Damien Le Moal <damien.lemoal@hgst.com>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
> Reviewed-by: Shaun Tancheff <shaun.tancheff@seagate.com>
> Tested-by: Shaun Tancheff <shaun.tancheff@seagate.com>
> ---
> Documentation/ABI/testing/sysfs-block | 16 ++++++++++++
> block/blk-settings.c | 1 +
> block/blk-sysfs.c | 18 ++++++++++++++
> include/linux/blkdev.h | 47 +++++++++++++++++++++++++++++++++++
> 4 files changed, 82 insertions(+)
>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Cheers,
Hannes
--
Dr. Hannes Reinecke Teamlead Storage & Networking
hare@suse.de +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)
next prev parent reply other threads:[~2016-10-18 6:43 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-18 6:40 [PATCH v8 0/7] ZBC / Zoned block device support Damien Le Moal
2016-10-18 6:40 ` [PATCH v8 1/7] block: Add 'zoned' queue limit Damien Le Moal
2016-10-18 6:42 ` Hannes Reinecke [this message]
2016-10-18 6:40 ` [PATCH v8 2/7] blk-sysfs: Add 'chunk_sectors' to sysfs attributes Damien Le Moal
2016-10-18 16:43 ` Jeff Moyer
2016-10-18 23:17 ` Damien Le Moal
2016-10-18 6:40 ` [PATCH v8 3/7] block: update chunk_sectors in blk_stack_limits() Damien Le Moal
2016-10-18 6:40 ` [PATCH v8 4/7] block: Define zoned block device operations Damien Le Moal
2016-10-18 6:40 ` [PATCH v8 5/7] block: Implement support for zoned block devices Damien Le Moal
2016-10-18 6:40 ` [PATCH v8 6/7] sd: Implement support for ZBC devices Damien Le Moal
2016-10-18 16:58 ` Jeff Moyer
2016-10-18 18:22 ` Shaun Tancheff
2016-10-19 13:23 ` Jeff Moyer
2016-10-19 0:44 ` Martin K. Petersen
2016-10-19 13:21 ` Jeff Moyer
2016-10-19 0:47 ` Martin K. Petersen
2016-10-18 6:40 ` [PATCH v8 7/7] blk-zoned: implement ioctls Damien Le Moal
2016-10-18 15:58 ` [PATCH v8 0/7] ZBC / Zoned block device support Jens Axboe
2016-10-18 23:15 ` Damien Le Moal
2016-10-19 0:46 ` Martin K. Petersen
2016-10-19 1:49 ` Jens Axboe
2016-10-19 1:53 ` Martin K. Petersen
2016-10-19 1:59 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1e4d596f-e296-7f5c-0976-72c1d09ad71a@suse.de \
--to=hare@suse.de \
--cc=axboe@kernel.dk \
--cc=damien.lemoal@hgst.com \
--cc=damien.lemoal@wdc.com \
--cc=hch@lst.de \
--cc=linux-block@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=shaun@tancheff.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox