Re: [PATCH 1/2] virtio: block: set max_segment_size and max_sectors to infinite.

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

 



On Thursday 27 November 2008 04:12:25 Chris Wright wrote:
> * Rusty Russell (rusty@xxxxxxxxxxxxxxx) wrote:
> > +	/* No real sector limit. */
> > +	blk_queue_max_sectors(vblk->disk->queue, -1U);
> > +
>
> Is that actually legitimate?  I think it'd still work out, but seems
> odd, e.g. all the spots that do:
>
> 	q->max_hw_sectors << 9
>
> will just toss the upper bits...

I think this just indicates that *my driver* doesn't have an issue with large 
numbers of sectors.  The block layer may well...

Rusty.


>
> thanks,
> -chris


_______________________________________________
Virtualization mailing list
Virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/virtualization

[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux