From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Damien Le Moal <damien.lemoal@wdc.com>
Cc: linux-scsi@vger.kernel.org,
"Martin K . Petersen" <martin.petersen@oracle.com>,
linux-block@vger.kernel.org, Jens Axboe <axboe@kernel.dk>,
Christoph Hellwig <hch@lst.de>,
Bart Van Assche <Bart.VanAssche@wdc.com>
Subject: Re: [PATCH V7 1/8] block: introduce zoned block devices zone write locking
Date: Wed, 08 Nov 2017 18:33:19 -0500 [thread overview]
Message-ID: <yq1r2t8xs5c.fsf@oracle.com> (raw)
In-Reply-To: <20171108081118.7632-2-damien.lemoal@wdc.com> (Damien Le Moal's message of "Wed, 8 Nov 2017 17:11:11 +0900")
Damien,
> + * Zoned block device information for request dispatch control.
> + * nr_zones is the total number of zones of the device. This is always
> + * 0 for regular block devices. seq_zones_bitmap is a bitmap of nr_zones
> + * bits which indicates if a zone is conventional (bit clear) or
> + * sequential (bit set). seq_zones_wlock is a bitmap of nr_zones
> + * bits which indicates if a zone is write locked, thatt is, if a write
^^^^^
> + * request targeting the zone was dispatched. All three fields are
> + * initialized by the low level device driver. Stacking drivers
> + * (device mappers) may or may not initialize these fields.
> + */
> + unsigned int nr_zones;
> + unsigned long *seq_zones_bitmap;
> + unsigned long *seq_zones_wlock;
> +
> + /*
Otherwise OK.
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
--
Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2017-11-08 23:33 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-08 8:11 [PATCH V7 0/8] blk-mq support for ZBC disks Damien Le Moal
2017-11-08 8:11 ` [PATCH V7 1/8] block: introduce zoned block devices zone write locking Damien Le Moal
2017-11-08 23:33 ` Martin K. Petersen [this message]
2017-11-08 8:11 ` [PATCH V7 2/8] blokc: mq-deadline: Introduce dispatch helpers Damien Le Moal
2017-11-08 18:23 ` Christoph Hellwig
2017-11-08 23:34 ` Martin K. Petersen
2017-11-08 8:11 ` [PATCH V7 3/8] block: mq-deadline: Introduce zone locking support Damien Le Moal
2017-11-08 18:24 ` Christoph Hellwig
2017-11-08 23:36 ` Martin K. Petersen
2017-11-08 8:11 ` [PATCH V7 4/8] block: deadline-iosched: Introduce dispatch helpers Damien Le Moal
2017-11-08 18:24 ` Christoph Hellwig
2017-11-08 23:37 ` Martin K. Petersen
2017-11-08 8:11 ` [PATCH V7 5/8] block: deadline-iosched: Introduce zone locking support Damien Le Moal
2017-11-08 18:24 ` Christoph Hellwig
2017-11-08 23:38 ` Martin K. Petersen
2017-11-08 8:11 ` [PATCH V7 6/8] scsi: sd_zbc: Initialize device request queue zoned data Damien Le Moal
2017-11-08 18:25 ` Christoph Hellwig
2017-11-08 23:41 ` Martin K. Petersen
2017-11-08 23:54 ` Damien Le Moal
2017-11-08 8:11 ` [PATCH V7 7/8] scsi: sd: Remove zone write locking Damien Le Moal
2017-11-08 18:26 ` Christoph Hellwig
2017-11-08 23:44 ` Martin K. Petersen
2017-11-08 8:11 ` [PATCH V7 8/8] scsi: sd_zbc: Fix zone information initialization Damien Le Moal
2017-11-08 18:26 ` Christoph Hellwig
2017-11-08 23:46 ` Martin K. Petersen
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=yq1r2t8xs5c.fsf@oracle.com \
--to=martin.petersen@oracle.com \
--cc=Bart.VanAssche@wdc.com \
--cc=axboe@kernel.dk \
--cc=damien.lemoal@wdc.com \
--cc=hch@lst.de \
--cc=linux-block@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.