Re: [PATCH] IB/iser: explicitly set shost max_segment_size

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

 



On Wed, Jun 05, 2019 at 11:47:23PM -0700, Sagi Grimberg wrote:
> Not sure I understand.
>
> max_segment_size and virt_boundary_mask are related how?

virt_boundary_devices has hardware segment size of a single page (device
page as identified by the boundary, not necessarily linux PAGE_SIZE).
So we don't need a max_segment_size in the Linux size, as any amount of
hardware segments fitting the virt boundary can be merged into a 'Linux
segment'.  Because of the accouting for the merges is hard and was
partially broken anyway we've now dropped the accounting and force the
max_segment_size to be unlimited in the block layer if a device sets
the virt_boundary_mask.



[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