Re: [PATCH 2/3] block: pre-allocate requests if plug is started and is a batch

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

 



On 10/6/21 9:35 AM, Jens Axboe wrote:
diff --git a/include/linux/blk_types.h b/include/linux/blk_types.h
index 3b967053e9f5..4b2006ec8bf2 100644
--- a/include/linux/blk_types.h
+++ b/include/linux/blk_types.h
@@ -22,6 +22,7 @@ struct bio_crypt_ctx;
struct block_device {
  	sector_t		bd_start_sect;
+	sector_t		bd_nr_sectors;
  	struct disk_stats __percpu *bd_stats;
  	unsigned long		bd_stamp;
  	bool			bd_read_only;	/* read-only policy */

Hmm ... I can't find any code in this patch that sets bd_nr_sectors? Did I perhaps overlook something?

Thanks,

Bart.



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux