summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_debugfs.c
diff options
context:
space:
mode:
authorDamien Le Moal2017-12-21 07:43:43 +0100
committerMartin K. Petersen2018-01-09 04:13:19 +0100
commit23349ca93aed05917d9178d0a9e21db599a0eb5d (patch)
tree43b6a13502a3d51f22b5f48038c20c5b4679c915 /drivers/scsi/scsi_debugfs.c
parentscsi: scsi-mq-debugfs: Show more information (diff)
downloadkernel-qcow2-linux-23349ca93aed05917d9178d0a9e21db599a0eb5d.tar.gz
kernel-qcow2-linux-23349ca93aed05917d9178d0a9e21db599a0eb5d.tar.xz
kernel-qcow2-linux-23349ca93aed05917d9178d0a9e21db599a0eb5d.zip
scsi: sd_zbc: Initialize device request queue zoned data
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. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_debugfs.c')
0 files changed, 0 insertions, 0 deletions