Re: [PATCH V4 06/16] block: Add zoned block device information to request queue

2017-09-24 Thread Damien Le Moal
On 9/24/17 16:59, Christoph Hellwig wrote: >> + * Zoned block device information for mq I/O schedulers. >> + * Set by low level device driver (stacking driver may not set this). >> + */ >> +unsigned intnr_zones; >> +unsigned long *seq_zones; > > Might be worth explaining

Re: [PATCH V4 06/16] block: Add zoned block device information to request queue

2017-09-24 Thread Christoph Hellwig
> + * Zoned block device information for mq I/O schedulers. > + * Set by low level device driver (stacking driver may not set this). > + */ > + unsigned intnr_zones; > + unsigned long *seq_zones; Might be worth explaining the seq_zones is a bit bitmap to check if a

[PATCH V4 06/16] block: Add zoned block device information to request queue

2017-09-24 Thread Damien Le Moal
Components relying only on the requeuest_queue structure for accessing block devices (e.g. I/O schedulers) have a limited knowledged of the device characteristics. In particular, the device capacity cannot be easily discovered, which for a zoned block device also result in the inability to easily