[dm-devel] [PATCH 9/9] block: rework zone reporting

Mike Snitzer snitzer at redhat.com
Fri Nov 8 15:16:16 UTC 2019


On Thu, Nov 07 2019 at  8:57pm -0500,
Damien Le Moal <damien.lemoal at wdc.com> wrote:

> From: Christoph Hellwig <hch at lst.de>
> 
> Avoid the need to allocate a potentially large array of struct blk_zone
> in the block layer by switching the ->report_zones method interface to
> a callback model. Now the caller simply supplies a callback that is
> executed on each reported zone, and private data for it.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki at wdc.com>
> Signed-off-by: Damien Le Moal <damien.lemoal at wdc.com>

Reviewed-by: Mike Snitzer <snitzer at redhat.com>




More information about the dm-devel mailing list