Re: [PATCH 8/8] scsi: Introduce ZBC disk I/O scheduler

2017-09-01 Thread Bart Van Assche
On Fri, 2017-09-01 at 20:36 +0900, Damien Le Moal wrote: > +static struct scsi_disk *__zoned_scsi_disk(struct request_queue *q) > +{ > + struct scsi_device *sdp; > + struct scsi_disk *sdkp; > + > + if (!blk_queue_is_zoned(q)) { > + pr_err("zoned: Not a zoned block

[PATCH 8/8] scsi: Introduce ZBC disk I/O scheduler

2017-09-01 Thread Damien Le Moal
The zoned I/O scheduler is mostly identical to mq-deadline and retains the same configuration attributes. The main difference is that the zoned scheduler will ensure that at any time at most only one write request (command) per sequential zone is in flight (has been issued to the disk) in order to