Re: [PATCH V7 1/8] block: introduce zoned block devices zone write locking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux