sd_zbc_do_report_zones(9)
π sd_zbc_do_report_zones(9) π
okay bestie, welcome to this Kernel API Manual page β we're talking about sd_zbc_do_report_zones(9), and yes it's exactly as niche and iconic as it sounds. π¦
πΈ NAME πΈ
sd_zbc_do_report_zones β issue a REPORT ZONES scsi command. that's it, that's the whole name, slay. β¨
β¨ SYNOPSIS β¨
int sd_zbc_do_report_zones (struct scsi_disk *sdkp , unsigned char *buf
, unsigned int buflen , sector_t lba , bool partial );
π ARGUMENTS π
sdkpβ the target disk. π½bufβ thevmalloc-edbuffer to use for the reply. π§Ίbuflenβ the buffer size. πlbaβ start LBA of the report. π―partialβ do partial report. π«‘
π DESCRIPTION π
okay so this one is for internal use during device validation. periodt.
Using partial=true can significantly speed up execution of a report zones command because the disk does not have to count all possible report matching zones and will only report the count of zones fitting in the command reply buffer. literally the shortcut of it all. β‘
π¦ SEE ALSO π¦
the kernel file ./drivers/scsi/sd_zbc.c is home base, and these are the linked besties:
sd_zbc_parse_report(9)sd_zbc_alloc_report_buffer(9)sd_zbc_zone_sectors(9)sd_zbc_report_zones(9)sd_zbc_setup_zone_mgmt_cmnd(9)sd_zbc_complete(9)sd_zbc_check_zoned_characteristics(9)sd_zbc_check_capacity(9)sd_zbc_read_zones(9)
mwah π cute little sign-off: this page comes from ./drivers/scsi, dated October 2026, and it's literally called sd_zbc_do_report_zones(9). take care, bestie π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms