Re: Maximum data size in a single transfer for MS driver

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

 



On Thu, Feb 25, 2010 at 10:59:01AM -0600, scameron@xxxxxxxxxxxxxxxxxx wrote:
> void blk_queue_max_hw_sectors(struct request_queue *q, unsigned int max_sectors)
> {
>         if (BLK_DEF_MAX_SECTORS > max_sectors)
>                 q->limits.max_hw_sectors = BLK_DEF_MAX_SECTORS;
>         else
>                 q->limits.max_hw_sectors = max_sectors;
> }
> EXPORT_SYMBOL(blk_queue_max_hw_sectors);
>
> So if you try to set max_hw_sectors to allow more than 512k via

No, I'm an idiot, nevermind.  BLK_DEF_MAX_SECTORS is the minimum.

-- steve


--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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