> Measurements have shown that for some UFS devices the maximum > sequential > I/O throughput is achieved with a transfer size above 512 KiB. Hence > increase the maximum size of the data buffer associated with a single > request from SCSI_DEFAULT_MAX_SECTORS (1024) * 512 bytes = 512 KiB > into > 1 GiB. Did you choose 1GB to align with BLK_DEF_MAX_SECTORS? If so why not just use it? Can you share those performance measurements? For some reason, I always thought that SR performance is saturated somewhere around 1MB. Thanks, Avri > > Note: the maximum data buffer size supported by the UFSHCI specification > is 65535 * 256 MiB or about 16 TiB.