From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: Damien Le Moal Cc: linux-scsi@vger.kernel.org, "Martin K . Petersen" , linux-block@vger.kernel.org, Jens Axboe , Christoph Hellwig , Bart Van Assche Subject: Re: [PATCH V8 6/7] sd_zbc: Initialize device request queue zoned data From: "Martin K. Petersen" References: <20171109065707.17210-1-damien.lemoal@wdc.com> <20171109065707.17210-7-damien.lemoal@wdc.com> Date: Mon, 20 Nov 2017 21:36:55 -0500 In-Reply-To: <20171109065707.17210-7-damien.lemoal@wdc.com> (Damien Le Moal's message of "Thu, 9 Nov 2017 15:57:06 +0900") Message-ID: MIME-Version: 1.0 Content-Type: text/plain List-ID: Damien, > Initialize the seq_zones_bitmap, seq_zones_wlock and nr_zones fields > of the disk request queue on disk revalidate. As the seq_zones_bitmap > and seq_zones_wlock allocations are identical, introduce the helper > sd_zbc_alloc_zone_bitmap(). Using this helper, reallocate the bitmaps > whenever the disk capacity (number of zones) changes. Reviewed-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering